Private
Public Access
1
0

feat: Fluent UI Outlook Lite + connections mockup

This commit is contained in:
2026-04-14 18:52:25 +00:00
parent 1199eff6c3
commit dfa4010406
34820 changed files with 1003813 additions and 205 deletions

View File

@@ -0,0 +1,31 @@
'use client';
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
AnnounceProvider: function() {
return AnnounceProvider;
},
useAnnounce: function() {
return useAnnounce;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
/**
* @internal
*/ const AnnounceContext = _react.createContext(undefined);
const AnnounceProvider = AnnounceContext.Provider;
function useAnnounce() {
var _React_useContext;
return (_React_useContext = _react.useContext(AnnounceContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {
announce: ()=>undefined
};
}

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../src/AnnounceContext/AnnounceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * Defines options for a message to be announced.\n */\nexport type AnnounceOptions = {\n alert?: boolean;\n\n /**\n * A unique identifier for the message. If a message with the same id is already announced, it will be replaced.\n */\n batchId?: string;\n\n /**\n * Indicates that the message announcement can be interrupted by another message and will be announced only\n * user is idle.\n */\n polite?: boolean;\n\n /** Defines the priority of the message. Higher priority messages will be announced first. */\n priority?: number;\n};\n\nexport type AnnounceContextValue = {\n announce: (message: string, options?: AnnounceOptions) => void;\n};\n\n/**\n * @internal\n */\nconst AnnounceContext = React.createContext<AnnounceContextValue | undefined>(undefined);\n\nexport const AnnounceProvider = AnnounceContext.Provider;\n\n/**\n * Returns a function that can be used to announce messages to screen readers.\n */\nexport function useAnnounce(): AnnounceContextValue {\n return React.useContext(AnnounceContext) ?? { announce: () => undefined };\n}\n"],"names":["AnnounceProvider","useAnnounce","AnnounceContext","React","createContext","undefined","Provider","useContext","announce"],"mappings":"AAAA;;;;;;;;;;;;IAkCaA,gBAAgB;eAAhBA;;IAKGC,WAAW;eAAXA;;;;iEArCO;AA2BvB;;CAEC,GACD,MAAMC,kBAAkBC,OAAMC,aAAa,CAAmCC;AAEvE,MAAML,mBAAmBE,gBAAgBI,QAAQ;AAKjD,SAASL;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMI,UAAU,CAACL,8BAAjBC,+BAAAA,oBAAqC;QAAEK,UAAU,IAAMH;IAAU;AAC1E"}

View File

@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
AnnounceProvider: function() {
return _AnnounceContext.AnnounceProvider;
},
useAnnounce: function() {
return _AnnounceContext.useAnnounce;
}
});
const _AnnounceContext = require("./AnnounceContext");

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../src/AnnounceContext/index.ts"],"sourcesContent":["export type { AnnounceContextValue, AnnounceOptions } from './AnnounceContext';\nexport { AnnounceProvider, useAnnounce } from './AnnounceContext';\n"],"names":["AnnounceProvider","useAnnounce"],"mappings":";;;;;;;;;;;IACSA,gBAAgB;eAAhBA,iCAAgB;;IAAEC,WAAW;eAAXA,4BAAW;;;iCAAQ"}