@plumile/ui 0.1.70 → 0.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuDropdown.js +12 -2
- package/lib/esm/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuDropdown.js.map +1 -1
- package/lib/esm/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.js +35 -46
- package/lib/esm/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.js.map +1 -1
- package/lib/esm/atomic/molecules/markdown/components/MarkdownFootnoteReference.css.js +1 -0
- package/lib/esm/atomic/molecules/markdown/components/MarkdownParagraph.css.js +0 -1
- package/lib/esm/index.js +103 -104
- package/lib/esm/style.css +1 -1
- package/lib/esm/theme/ThemeProvider.js +14 -14
- package/lib/esm/theme/ThemeProvider.js.map +1 -1
- package/lib/esm/theme/themeContract.js +1 -1
- package/lib/esm/theme/themeContract.js.map +1 -1
- package/lib/types/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuDropdown.d.ts.map +1 -1
- package/lib/types/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.d.ts +5 -7
- package/lib/types/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.d.ts.map +1 -1
- package/lib/types/atomic/molecules/breadcrumb_navigation/types.d.ts +18 -0
- package/lib/types/atomic/molecules/breadcrumb_navigation/types.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/theme/ThemeProvider.d.ts +1 -1
- package/lib/types/theme/ThemeProvider.d.ts.map +1 -1
- package/package.json +2 -2
- package/lib/esm/atomic/molecules/profile_dropdown/ProfileDropdown.js +0 -119
- package/lib/esm/atomic/molecules/profile_dropdown/ProfileDropdown.js.map +0 -1
- package/lib/esm/atomic/molecules/profile_dropdown/profileDropdown.css.js +0 -8
- package/lib/esm/atomic/molecules/profile_dropdown/profileDropdown.css.js.map +0 -1
- package/lib/types/atomic/molecules/profile_dropdown/ProfileDropdown.d.ts +0 -24
- package/lib/types/atomic/molecules/profile_dropdown/ProfileDropdown.d.ts.map +0 -1
- package/lib/types/atomic/molecules/profile_dropdown/profileDropdown.css.d.ts +0 -14
- package/lib/types/atomic/molecules/profile_dropdown/profileDropdown.css.d.ts.map +0 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { createContext as e, useContext as t, useEffect as n, useMemo as r, useState as i } from "react";
|
|
2
2
|
import { jsx as a } from "react/jsx-runtime";
|
|
3
3
|
//#region src/theme/ThemeProvider.tsx
|
|
4
|
-
var o = e(void 0), s = "
|
|
4
|
+
var o = e(void 0), s = "plumile-theme-preference", c = "kronex-theme-preference", l = {
|
|
5
5
|
light: "theme-light",
|
|
6
6
|
dark: "theme-dark"
|
|
7
|
-
},
|
|
8
|
-
let [
|
|
7
|
+
}, u = ({ children: e, defaultTheme: t = "light" }) => {
|
|
8
|
+
let [u, d] = i(t);
|
|
9
9
|
n(() => {
|
|
10
10
|
if (typeof window > "u") return;
|
|
11
|
-
let e = window.localStorage.getItem(
|
|
12
|
-
(e === "light" || e === "dark") &&
|
|
11
|
+
let e = window.localStorage.getItem("plumile-theme-preference") ?? window.localStorage.getItem(c);
|
|
12
|
+
(e === "light" || e === "dark") && d(e);
|
|
13
13
|
}, []), n(() => {
|
|
14
14
|
if (typeof document > "u") return;
|
|
15
15
|
let e = document.documentElement;
|
|
16
|
-
e.classList.remove(...Object.values(
|
|
17
|
-
}, [
|
|
18
|
-
let
|
|
19
|
-
currentTheme:
|
|
20
|
-
setTheme:
|
|
21
|
-
}), [
|
|
16
|
+
e.classList.remove(...Object.values(l)), e.classList.add(l[u]), e.setAttribute("data-theme", u), typeof window < "u" && window.localStorage.setItem(s, u);
|
|
17
|
+
}, [u]);
|
|
18
|
+
let f = r(() => ({
|
|
19
|
+
currentTheme: u,
|
|
20
|
+
setTheme: d
|
|
21
|
+
}), [u]);
|
|
22
22
|
return /* @__PURE__ */ a(o.Provider, {
|
|
23
|
-
value:
|
|
23
|
+
value: f,
|
|
24
24
|
children: e
|
|
25
25
|
});
|
|
26
|
-
},
|
|
26
|
+
}, d = () => {
|
|
27
27
|
let e = t(o);
|
|
28
28
|
if (e == null) throw Error("useTheme must be used within a ThemeProvider");
|
|
29
29
|
return e;
|
|
30
30
|
};
|
|
31
31
|
//#endregion
|
|
32
|
-
export { s as THEME_KEY,
|
|
32
|
+
export { s as THEME_KEY, u as ThemeProvider, d as useTheme };
|
|
33
33
|
|
|
34
34
|
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.js","names":[],"sources":["../../../src/theme/ThemeProvider.tsx"],"sourcesContent":["import {\n type JSX,\n type ReactNode,\n createContext,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from 'react';\n\ntype ThemeName = 'light' | 'dark';\n\ntype ThemeContextValue = {\n currentTheme: ThemeName;\n setTheme: (theme: ThemeName) => void;\n};\n\nconst ThemeContext = createContext<ThemeContextValue | undefined>(undefined);\n\nexport const THEME_KEY = 'kronex-theme-preference';\n\nconst THEME_CLASSNAMES: Record<ThemeName, string> = {\n light: 'theme-light',\n dark: 'theme-dark',\n};\n\ntype ThemeProviderProps = {\n children: ReactNode;\n defaultTheme?: ThemeName;\n};\n\nexport const ThemeProvider = ({\n children,\n defaultTheme = 'light',\n}: ThemeProviderProps): JSX.Element => {\n const [currentTheme, setCurrentTheme] = useState<ThemeName>(defaultTheme);\n\n useEffect(() => {\n if (typeof window === 'undefined') {\n return;\n }\n\n const savedTheme
|
|
1
|
+
{"version":3,"file":"ThemeProvider.js","names":[],"sources":["../../../src/theme/ThemeProvider.tsx"],"sourcesContent":["import {\n type JSX,\n type ReactNode,\n createContext,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from 'react';\n\ntype ThemeName = 'light' | 'dark';\n\ntype ThemeContextValue = {\n currentTheme: ThemeName;\n setTheme: (theme: ThemeName) => void;\n};\n\nconst ThemeContext = createContext<ThemeContextValue | undefined>(undefined);\n\nexport const THEME_KEY = 'plumile-theme-preference';\nconst LEGACY_THEME_KEY = 'kronex-theme-preference';\n\nconst THEME_CLASSNAMES: Record<ThemeName, string> = {\n light: 'theme-light',\n dark: 'theme-dark',\n};\n\ntype ThemeProviderProps = {\n children: ReactNode;\n defaultTheme?: ThemeName;\n};\n\nexport const ThemeProvider = ({\n children,\n defaultTheme = 'light',\n}: ThemeProviderProps): JSX.Element => {\n const [currentTheme, setCurrentTheme] = useState<ThemeName>(defaultTheme);\n\n useEffect(() => {\n if (typeof window === 'undefined') {\n return;\n }\n\n const savedTheme =\n window.localStorage.getItem(THEME_KEY) ??\n window.localStorage.getItem(LEGACY_THEME_KEY);\n\n if (savedTheme === 'light' || savedTheme === 'dark') {\n setCurrentTheme(savedTheme);\n }\n }, []);\n\n useEffect(() => {\n if (typeof document === 'undefined') {\n return;\n }\n\n const root = document.documentElement;\n\n root.classList.remove(...Object.values(THEME_CLASSNAMES));\n root.classList.add(THEME_CLASSNAMES[currentTheme]);\n root.setAttribute('data-theme', currentTheme);\n\n if (typeof window !== 'undefined') {\n window.localStorage.setItem(THEME_KEY, currentTheme);\n }\n }, [currentTheme]);\n\n const value = useMemo(() => {\n return {\n currentTheme,\n setTheme: setCurrentTheme,\n };\n }, [currentTheme]);\n\n return (\n <ThemeContext.Provider value={value}>{children}</ThemeContext.Provider>\n );\n};\n\nexport const useTheme = (): ThemeContextValue => {\n const context = useContext(ThemeContext);\n\n if (context == null) {\n throw new Error('useTheme must be used within a ThemeProvider');\n }\n\n return context;\n};\n"],"mappings":";;;AAiBA,IAAM,IAAe,EAA6C,KAAA,EAAU,EAE/D,IAAY,4BACnB,IAAmB,2BAEnB,IAA8C;CAClD,OAAO;CACP,MAAM;CACP,EAOY,KAAiB,EAC5B,aACA,kBAAe,cACsB;CACrC,IAAM,CAAC,GAAc,KAAmB,EAAoB,EAAa;AAgBzE,CAdA,QAAgB;AACd,MAAI,OAAO,SAAW,IACpB;EAGF,IAAM,IACJ,OAAO,aAAa,QAAA,2BAAkB,IACtC,OAAO,aAAa,QAAQ,EAAiB;AAE/C,GAAI,MAAe,WAAW,MAAe,WAC3C,EAAgB,EAAW;IAE5B,EAAE,CAAC,EAEN,QAAgB;AACd,MAAI,OAAO,WAAa,IACtB;EAGF,IAAM,IAAO,SAAS;AAMtB,EAJA,EAAK,UAAU,OAAO,GAAG,OAAO,OAAO,EAAiB,CAAC,EACzD,EAAK,UAAU,IAAI,EAAiB,GAAc,EAClD,EAAK,aAAa,cAAc,EAAa,EAEzC,OAAO,SAAW,OACpB,OAAO,aAAa,QAAQ,GAAW,EAAa;IAErD,CAAC,EAAa,CAAC;CAElB,IAAM,IAAQ,SACL;EACL;EACA,UAAU;EACX,GACA,CAAC,EAAa,CAAC;AAElB,QACE,kBAAC,EAAa,UAAd;EAA8B;EAAQ;EAAiC,CAAA;GAI9D,UAAoC;CAC/C,IAAM,IAAU,EAAW,EAAa;AAExC,KAAI,KAAW,KACb,OAAU,MAAM,+CAA+C;AAGjE,QAAO"}
|
|
@@ -1018,7 +1018,7 @@ var t = {
|
|
|
1018
1018
|
40: "",
|
|
1019
1019
|
50: ""
|
|
1020
1020
|
}
|
|
1021
|
-
}, (e, t) => e != null && e !== "" ? e : `
|
|
1021
|
+
}, (e, t) => e != null && e !== "" ? e : `plumile-${t.join("-").replace(/[./%, ]/g, "-")}`);
|
|
1022
1022
|
//#endregion
|
|
1023
1023
|
export { t as colors, n as spacing, r as vars };
|
|
1024
1024
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themeContract.js","names":[],"sources":["../../../src/theme/themeContract.ts"],"sourcesContent":["import { createGlobalThemeContract } from '@vanilla-extract/css';\n\nexport const colors = {\n inherit: '',\n current: '',\n transparent: '',\n black: '',\n white: '',\n 'red-50': '',\n 'red-100': '',\n 'red-200': '',\n 'red-300': '',\n 'red-400': '',\n 'red-500': '',\n 'red-600': '',\n 'red-700': '',\n 'red-800': '',\n 'red-900': '',\n 'amber-50': '',\n 'amber-100': '',\n 'amber-200': '',\n 'amber-300': '',\n 'amber-400': '',\n 'amber-500': '',\n 'amber-600': '',\n 'amber-700': '',\n 'amber-800': '',\n 'amber-900': '',\n 'green-50': '',\n 'green-100': '',\n 'green-200': '',\n 'green-300': '',\n 'green-400': '',\n 'green-500': '',\n 'green-600': '',\n 'green-700': '',\n 'green-800': '',\n 'green-900': '',\n 'blue-50': '',\n 'blue-100': '',\n 'blue-200': '',\n 'blue-250': '',\n 'blue-300': '',\n 'blue-400': '',\n 'blue-500': '',\n 'blue-600': '',\n 'blue-700': '',\n 'blue-800': '',\n 'blue-900': '',\n 'white-500': '',\n 'transparent-500': '',\n 'transparent-125': '',\n 'black-440': '',\n 'black-300': '',\n 'black-200': '',\n 'black-100': '',\n 'black-10': '',\n 'black-2': '',\n primary: '',\n primaryLight: '',\n secondary: '',\n secondaryHover: '',\n secondaryLight: '',\n surface: '',\n surfaceSecondary: '',\n surfaceMuted: '',\n surfaceElevated: '',\n background: '',\n backgroundSecondary: '',\n backgroundTertiary: '',\n backgroundModifier: '',\n text: '',\n textSecondary: '',\n textMuted: '',\n border: '',\n borderSubtle: '',\n borderStrong: '',\n borderLight: '',\n error: '',\n 'error-8': '',\n 'error-10': '',\n 'error-12': '',\n 'error-35': '',\n success: '',\n successLight: '',\n warning: '',\n warningLight: '',\n info: '',\n infoLight: '',\n brandPrimaryRed: '',\n brandSecondaryOrange: '',\n 'brandSecondaryOrange-10': '',\n 'brandSecondaryOrange-20': '',\n accent: '',\n brandWhite: '',\n brandLightGray: '',\n brandDarkGray: '',\n brandBackgroundGradient: '',\n};\n\nexport const spacing = {\n auto: '',\n full: '',\n px: '',\n '-px': '',\n '-108': '',\n '-102': '',\n '-96': '',\n '-88': '',\n '-80': '',\n '-72': '',\n '-64': '',\n '-60': '',\n '-56': '',\n '-52': '',\n '-48': '',\n '-44': '',\n '-40': '',\n '-36': '',\n '-34': '',\n '-32': '',\n '-30': '',\n '-28': '',\n '-24': '',\n '-20': '',\n '-19': '',\n '-17.5': '',\n '-16': '',\n '-15': '',\n '-14': '',\n '-13': '',\n '-12': '',\n '-11': '',\n '-10': '',\n '-9': '',\n '-8': '',\n '-7': '',\n '-6': '',\n '-5': '',\n '-4': '',\n '-3.5': '',\n '-3': '',\n '-2.5': '',\n '-2': '',\n '-1.5': '',\n '-1': '',\n '-0.5': '',\n 0: '',\n 0.5: '',\n 1: '',\n 1.5: '',\n 2: '',\n 2.5: '',\n 3: '',\n 3.5: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n 13: '',\n 14: '',\n 15: '',\n 16: '',\n 17.5: '',\n 18: '',\n 18.5: '',\n 19: '',\n 20: '',\n 24: '',\n 28: '',\n 30: '',\n 32: '',\n 34: '',\n 36: '',\n 40: '',\n 44: '',\n 48: '',\n 52: '',\n 56: '',\n 60: '',\n 64: '',\n 72: '',\n 80: '',\n 88: '',\n 96: '',\n 102: '',\n 108: '',\n 112: '',\n 120: '',\n};\n\nexport const vars = createGlobalThemeContract(\n {\n spacing,\n screens: {\n sm: '',\n md: '',\n lg: '',\n xl: '',\n xxl: '',\n },\n animation: {\n none: '',\n spin: '',\n ping: '',\n pulse: '',\n bounce: '',\n },\n colors: {\n inherit: '',\n current: '',\n transparent: '',\n black: '',\n white: '',\n 'red-50': '',\n 'red-100': '',\n 'red-200': '',\n 'red-300': '',\n 'red-400': '',\n 'red-500': '',\n 'red-600': '',\n 'red-700': '',\n 'red-800': '',\n 'red-900': '',\n 'amber-50': '',\n 'amber-100': '',\n 'amber-200': '',\n 'amber-300': '',\n 'amber-400': '',\n 'amber-500': '',\n 'amber-600': '',\n 'amber-700': '',\n 'amber-800': '',\n 'amber-900': '',\n 'green-50': '',\n 'green-100': '',\n 'green-200': '',\n 'green-300': '',\n 'green-400': '',\n 'green-500': '',\n 'green-600': '',\n 'green-700': '',\n 'green-800': '',\n 'green-900': '',\n 'blue-50': '',\n 'blue-100': '',\n 'blue-200': '',\n 'blue-250': '',\n 'blue-300': '',\n 'blue-400': '',\n 'blue-500': '',\n 'blue-600': '',\n 'blue-700': '',\n 'blue-800': '',\n 'blue-900': '',\n 'white-500': '',\n 'transparent-500': '',\n 'transparent-125': '',\n 'black-440': '',\n 'black-300': '',\n 'black-200': '',\n 'black-100': '',\n 'black-10': '',\n 'black-2': '',\n primary: '',\n primaryLight: '',\n secondary: '',\n secondaryHover: '',\n secondaryLight: '',\n surface: '',\n surfaceSecondary: '',\n surfaceMuted: '',\n surfaceElevated: '',\n background: '',\n backgroundSecondary: '',\n backgroundTertiary: '',\n backgroundModifier: '',\n text: '',\n textSecondary: '',\n textMuted: '',\n border: '',\n borderSubtle: '',\n borderStrong: '',\n borderLight: '',\n error: '',\n 'error-8': '',\n 'error-10': '',\n 'error-12': '',\n 'error-35': '',\n success: '',\n successLight: '',\n warning: '',\n warningLight: '',\n info: '',\n infoLight: '',\n brandPrimaryRed: '',\n brandSecondaryOrange: '',\n 'brandSecondaryOrange-10': '',\n 'brandSecondaryOrange-20': '',\n accent: '',\n brandWhite: '',\n brandLightGray: '',\n brandDarkGray: '',\n brandBackgroundGradient: '',\n },\n backgroundImage: {\n brandDiagonal: '',\n brandDiagonal125: '',\n brandBackgroundGradient: '',\n pageShellSurface: '',\n floatingChatSurface: '',\n },\n borderRadius: {\n none: '',\n sm: '',\n default: '',\n md: '',\n lg: '',\n xl: '',\n '2xl': '',\n '3xl': '',\n '4xl': '',\n '1/2': '',\n full: '',\n },\n borderSpacing: spacing,\n borderWidth: {\n default: '',\n ...spacing,\n 0: '',\n 2: '',\n 4: '',\n 6: '',\n 8: '',\n 10: '',\n },\n boxShadow: {\n sm: '',\n default: '',\n md: '',\n lg: '',\n xl: '',\n '2xl': '',\n inkSoft: '',\n inkGlow: '',\n brandGlow: '',\n brandCardGlow: '',\n authCardGlow: '',\n profileDropdownShadow: '',\n badgeInset: '',\n badgeDotRing: '',\n primaryInsetRing: '',\n primaryLightRing: '',\n primaryLightRingStrong: '',\n successLightRing: '',\n sidebarActiveInset: '',\n inner: '',\n none: '',\n },\n dropShadow: {\n sm: '',\n default: '',\n md: '',\n lg: '',\n xl: '',\n '2xl': '',\n none: '',\n },\n grayscale: {\n 0: '',\n default: '',\n },\n hueRotate: {\n 0: '',\n 15: '',\n 30: '',\n 60: '',\n 90: '',\n 180: '',\n },\n invert: {\n 0: '',\n default: '',\n },\n flex: {\n 1: '',\n auto: '',\n initial: '',\n none: '',\n },\n flexBasis: {\n ...spacing,\n 260: '',\n '1/2': '',\n '1/3': '',\n '2/3': '',\n '1/4': '',\n '2/4': '',\n '3/4': '',\n '1/5': '',\n '2/5': '',\n '3/5': '',\n '4/5': '',\n '1/6': '',\n '2/6': '',\n '3/6': '',\n '4/6': '',\n '5/6': '',\n '1/12': '',\n '2/12': '',\n '3/12': '',\n '4/12': '',\n '5/12': '',\n '6/12': '',\n '7/12': '',\n '8/12': '',\n '9/12': '',\n '10/12': '',\n '11/12': '',\n full: '',\n },\n flexGrow: {\n 0: '',\n default: '',\n },\n flexShrink: {\n 0: '',\n default: '',\n },\n fontFamily: {\n sans: '',\n serif: '',\n mono: '',\n },\n fontSize: {\n '3xs': '',\n '2xs': '',\n xs: '',\n sm: '',\n base: '',\n lg: '',\n xl: '',\n '2xl': '',\n '3xl': '',\n '4xl': '',\n '5xl': '',\n '6xl': '',\n '7xl': '',\n '8xl': '',\n '9xl': '',\n responsive: '',\n },\n fontWeight: {\n thin: '',\n extralight: '',\n light: '',\n normal: '',\n medium: '',\n semibold: '',\n bold: '',\n extrabold: '',\n black: '',\n },\n gridAutoColumns: {\n auto: '',\n min: '',\n max: '',\n fr: '',\n },\n gridAutoRows: {\n auto: '',\n min: '',\n max: '',\n fr: '',\n },\n gridColumn: {\n auto: '',\n 'span-1': '',\n 'span-2': '',\n 'span-3': '',\n 'span-4': '',\n 'span-5': '',\n 'span-6': '',\n 'span-7': '',\n 'span-8': '',\n 'span-9': '',\n 'span-10': '',\n 'span-11': '',\n 'span-12': '',\n 'span-full': '',\n },\n gridColumnEnd: {\n auto: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n 13: '',\n },\n gridColumnStart: {\n auto: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n 13: '',\n },\n gridRow: {\n auto: '',\n 'span-1': '',\n 'span-2': '',\n 'span-3': '',\n 'span-4': '',\n 'span-5': '',\n 'span-6': '',\n 'span-full': '',\n },\n gridRowStart: {\n auto: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n },\n gridRowEnd: {\n auto: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n },\n gridTemplateColumns: {\n none: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n detailSingle: '',\n twoFrOneFr: '',\n detailAside320: '',\n settingsSplit: '',\n splitViewSplit: '',\n keyValueSplit: '',\n userProfileSplit: '',\n repeat4Fr: '',\n autoFillMinmax320: '',\n autoFitMinmax0: '',\n autoFitMinmax12_5rem: '',\n autoFitMinmax120: '',\n autoFitMinmax160: '',\n autoFitMinmax180: '',\n autoFitMinmax200: '',\n autoFitMinmax220: '',\n autoFitMinmax240: '',\n autoFitMinmax260: '',\n autoFitMinmax280: '',\n autoFitMinmax320: '',\n },\n gridTemplateRows: {\n none: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n autoMinmax0: '',\n autoAutoMinmax0: '',\n minmax0Auto: '',\n fr0: '',\n fr1: '',\n },\n left: { ...spacing, '1/2': '' },\n top: { ...spacing, '1/2': '' },\n height: {\n ...spacing,\n 1.1: '',\n 300: '',\n '1/2': '',\n '1/3': '',\n '2/3': '',\n '1/4': '',\n '2/4': '',\n '3/4': '',\n '1/5': '',\n '2/5': '',\n '3/5': '',\n '4/5': '',\n '1/6': '',\n '2/6': '',\n '3/6': '',\n '4/6': '',\n '5/6': '',\n full: '',\n screen: '',\n min: '',\n max: '',\n fit: '',\n auto: '',\n },\n inset: {\n ...spacing,\n '1/2': '',\n '1/3': '',\n '2/3': '',\n '1/4': '',\n '2/4': '',\n '3/4': '',\n full: '',\n },\n keyframes: {\n spin: {\n to: {\n transform: '',\n },\n },\n ping: {\n '75%, 100%': {\n transform: '',\n opacity: '',\n },\n },\n pulse: {\n '50%': {\n opacity: '',\n },\n },\n bounce: {\n '0%, 100%': {\n transform: '',\n animationTimingFunction: '',\n },\n '50%': {\n transform: '',\n animationTimingFunction: '',\n },\n },\n },\n letterSpacing: {\n tighter: '',\n tight: '',\n normal: '',\n wide: '',\n wider: '',\n widest: '',\n caps: '',\n capsTight: '',\n capsNarrow: '',\n },\n wordSpacing: {\n tighter: '',\n tight: '',\n normal: '',\n wide: '',\n wider: '',\n widest: '',\n },\n lineHeight: {\n ...spacing,\n 1.2: '',\n 1.3: '',\n 1.4: '',\n 1.45: '',\n 1.5: '',\n 1.6: '',\n 1.7: '',\n '3xs': '',\n '2xs': '',\n xs: '',\n sm: '',\n base: '',\n lg: '',\n xl: '',\n '2xl': '',\n '3xl': '',\n '4xl': '',\n '5xl': '',\n '6xl': '',\n '7xl': '',\n '8xl': '',\n '9xl': '',\n responsive: '',\n none: '',\n tight: '',\n snug: '',\n normal: '',\n relaxed: '',\n loose: '',\n },\n listStyleType: {\n none: '',\n disc: '',\n decimal: '',\n },\n margin: {\n ...spacing,\n },\n maxHeight: {\n ...spacing,\n '50vh': '',\n '70vh': '',\n '90vh': '',\n none: '',\n full: '',\n screen: '',\n min: '',\n max: '',\n fit: '',\n },\n maxWidth: {\n '2xl': '',\n '3xl': '',\n '4xl': '',\n '5xl': '',\n '6xl': '',\n '7xl': '',\n '12rem': '',\n '26rem': '',\n '50vw': '',\n 960: '',\n '2/5': '',\n '3/4': '',\n 700: '',\n 720: '',\n 800: '',\n 640: '',\n 0: '',\n fit: '',\n full: '',\n lg: '',\n max: '',\n md: '',\n min: '',\n none: '',\n prose: '',\n sm: '',\n xl: '',\n xs: '',\n },\n minHeight: {\n ...spacing,\n 350: '',\n 360: '',\n 0: '',\n fit: '',\n full: '',\n max: '',\n min: '',\n screen: '',\n auto: '',\n },\n minWidth: {\n 0: '',\n 360: '',\n 640: '',\n fit: '',\n full: '',\n max: '',\n min: '',\n },\n objectPosition: {\n 'left-bottom': '',\n 'left-top': '',\n 'right-bottom': '',\n 'right-top': '',\n bottom: '',\n center: '',\n left: '',\n right: '',\n top: '',\n },\n opacity: {\n 0: '',\n 5: '',\n 10: '',\n 20: '',\n 25: '',\n 30: '',\n 35: '',\n 40: '',\n 50: '',\n 60: '',\n 70: '',\n 75: '',\n 80: '',\n 90: '',\n 95: '',\n 100: '',\n },\n order: {\n first: '',\n last: '',\n none: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n },\n outlineOffset: {\n 0: '',\n 1: '',\n 2: '',\n 4: '',\n 8: '',\n },\n outlineWidth: {\n 0: '',\n 1: '',\n 2: '',\n 4: '',\n 8: '',\n },\n rotate: {\n 0: '',\n 1: '',\n 2: '',\n 3: '',\n 6: '',\n 12: '',\n 45: '',\n 90: '',\n 180: '',\n },\n scale: {\n 0: '',\n 50: '',\n 75: '',\n 90: '',\n 95: '',\n 100: '',\n 105: '',\n 110: '',\n 125: '',\n 150: '',\n },\n sepia: {\n 0: '',\n default: '',\n },\n skew: {\n 0: '',\n 1: '',\n 2: '',\n 3: '',\n 6: '',\n 12: '',\n },\n stroke: {\n ...colors,\n none: '',\n },\n strokeWidth: {\n 0: '',\n 1: '',\n 2: '',\n },\n textDecorationThickness: {\n auto: '',\n 'from-font': '',\n 0: '',\n 1: '',\n 2: '',\n 4: '',\n 8: '',\n },\n textUnderlineOffset: {\n auto: '',\n 0: '',\n 1: '',\n 2: '',\n 4: '',\n 8: '',\n },\n transform: {\n 0: '',\n 100: '',\n 200: '',\n center: '',\n left: '',\n right: '',\n },\n transitionDelay: {\n 75: '',\n 100: '',\n 150: '',\n 200: '',\n 300: '',\n 500: '',\n 700: '',\n 1000: '',\n },\n transitionDuration: {\n default: '',\n 75: '',\n 100: '',\n 120: '',\n 150: '',\n 160: '',\n 200: '',\n 300: '',\n 500: '',\n 700: '',\n 1000: '',\n },\n transitionProperty: {\n none: '',\n all: '',\n default: '',\n colors: '',\n gap: '',\n gridTemplateRows: '',\n gridTemplateRowsOpacity: '',\n left: '',\n opacity: '',\n opacityVisibility: '',\n shadow: '',\n transform: '',\n width: '',\n },\n transitionTimingFunction: {\n default: '',\n linear: '',\n ease: '',\n in: '',\n 'ease-in-out': '',\n out: '',\n 'in-out': '',\n },\n width: {\n ...spacing,\n 1.1: '',\n auto: '',\n 140: '',\n 260: '',\n 300: '',\n '8%': '',\n '10%': '',\n '12%': '',\n '15%': '',\n '16%': '',\n '22%': '',\n '26%': '',\n '30%': '',\n '70%': '',\n '1/2': '',\n '1/3': '',\n '2/3': '',\n '1/4': '',\n '2/4': '',\n '3/4': '',\n '1/5': '',\n '2/5': '',\n '3/5': '',\n '4/5': '',\n '1/6': '',\n '2/6': '',\n '3/6': '',\n '4/6': '',\n '5/6': '',\n '1/12': '',\n '2/12': '',\n '3/12': '',\n '4/12': '',\n '5/12': '',\n '6/12': '',\n '7/12': '',\n '8/12': '',\n '9/12': '',\n '10/12': '',\n '11/12': '',\n full: '',\n screen: '',\n min: '',\n max: '',\n fit: '',\n },\n zIndex: {\n auto: '',\n modal: '',\n 0: '',\n 1: '',\n 4: '',\n 10: '',\n 20: '',\n 30: '',\n 40: '',\n 50: '',\n },\n },\n (value, path) => {\n if (value != null && value !== '') {\n return value;\n }\n\n const newValue = path.join('-').replace(/[./%, ]/g, '-');\n\n return `kronex-${newValue}`;\n },\n);\n"],"mappings":";;AAEA,IAAa,IAAS;CACpB,SAAS;CACT,SAAS;CACT,aAAa;CACb,OAAO;CACP,OAAO;CACP,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,YAAY;CACZ,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,YAAY;CACZ,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,mBAAmB;CACnB,mBAAmB;CACnB,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,YAAY;CACZ,WAAW;CACX,SAAS;CACT,cAAc;CACd,WAAW;CACX,gBAAgB;CAChB,gBAAgB;CAChB,SAAS;CACT,kBAAkB;CAClB,cAAc;CACd,iBAAiB;CACjB,YAAY;CACZ,qBAAqB;CACrB,oBAAoB;CACpB,oBAAoB;CACpB,MAAM;CACN,eAAe;CACf,WAAW;CACX,QAAQ;CACR,cAAc;CACd,cAAc;CACd,aAAa;CACb,OAAO;CACP,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,SAAS;CACT,cAAc;CACd,SAAS;CACT,cAAc;CACd,MAAM;CACN,WAAW;CACX,iBAAiB;CACjB,sBAAsB;CACtB,2BAA2B;CAC3B,2BAA2B;CAC3B,QAAQ;CACR,YAAY;CACZ,gBAAgB;CAChB,eAAe;C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ACH,GAAG;EACH,IAAI;EACL;CACD,QAAQ;EACN,GAAG;EACH,MAAM;EACP;CACD,aAAa;EACX,GAAG;EACH,GAAG;EACH,GAAG;EACJ;CACD,yBAAyB;EACvB,MAAM;EACN,aAAa;EACb,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACJ;CACD,qBAAqB;EACnB,MAAM;EACN,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACJ;CACD,WAAW;EACT,GAAG;EACH,KAAK;EACL,KAAK;EACL,QAAQ;EACR,MAAM;EACN,OAAO;EACR;CACD,iBAAiB;EACf,IAAI;EACJ,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAM;EACP;CACD,oBAAoB;EAClB,SAAS;EACT,IAAI;EACJ,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAM;EACP;CACD,oBAAoB;EAClB,MAAM;EACN,KAAK;EACL,SAAS;EACT,QAAQ;EACR,KAAK;EACL,kBAAkB;EAClB,yBAAyB;EACzB,MAAM;EACN,SAAS;EACT,mBAAmB;EACnB,QAAQ;EACR,WAAW;EACX,OAAO;EACR;CACD,0BAA0B;EACxB,SAAS;EACT,QAAQ;EACR,MAAM;EACN,IAAI;EACJ,eAAe;EACf,KAAK;EACL,UAAU;EACX;CACD,OAAO;EACL,GAAG;EACH,KAAK;EACL,MAAM;EACN,KAAK;EACL,KAAK;EACL,KAAK;EACL,MAAM;EACN,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,SAAS;EACT,SAAS;EACT,MAAM;EACN,QAAQ;EACR,KAAK;EACL,KAAK;EACL,KAAK;EACN;CACD,QAAQ;EACN,MAAM;EACN,OAAO;EACP,GAAG;EACH,GAAG;EACH,GAAG;EACH,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACL;CACF,GACA,GAAO,MACF,KAAS,QAAQ,MAAU,KACtB,IAKF,UAFU,EAAK,KAAK,IAAI,CAAC,QAAQ,YAAY,IAAI,GAI3D"}
|
|
1
|
+
{"version":3,"file":"themeContract.js","names":[],"sources":["../../../src/theme/themeContract.ts"],"sourcesContent":["import { createGlobalThemeContract } from '@vanilla-extract/css';\n\nexport const colors = {\n inherit: '',\n current: '',\n transparent: '',\n black: '',\n white: '',\n 'red-50': '',\n 'red-100': '',\n 'red-200': '',\n 'red-300': '',\n 'red-400': '',\n 'red-500': '',\n 'red-600': '',\n 'red-700': '',\n 'red-800': '',\n 'red-900': '',\n 'amber-50': '',\n 'amber-100': '',\n 'amber-200': '',\n 'amber-300': '',\n 'amber-400': '',\n 'amber-500': '',\n 'amber-600': '',\n 'amber-700': '',\n 'amber-800': '',\n 'amber-900': '',\n 'green-50': '',\n 'green-100': '',\n 'green-200': '',\n 'green-300': '',\n 'green-400': '',\n 'green-500': '',\n 'green-600': '',\n 'green-700': '',\n 'green-800': '',\n 'green-900': '',\n 'blue-50': '',\n 'blue-100': '',\n 'blue-200': '',\n 'blue-250': '',\n 'blue-300': '',\n 'blue-400': '',\n 'blue-500': '',\n 'blue-600': '',\n 'blue-700': '',\n 'blue-800': '',\n 'blue-900': '',\n 'white-500': '',\n 'transparent-500': '',\n 'transparent-125': '',\n 'black-440': '',\n 'black-300': '',\n 'black-200': '',\n 'black-100': '',\n 'black-10': '',\n 'black-2': '',\n primary: '',\n primaryLight: '',\n secondary: '',\n secondaryHover: '',\n secondaryLight: '',\n surface: '',\n surfaceSecondary: '',\n surfaceMuted: '',\n surfaceElevated: '',\n background: '',\n backgroundSecondary: '',\n backgroundTertiary: '',\n backgroundModifier: '',\n text: '',\n textSecondary: '',\n textMuted: '',\n border: '',\n borderSubtle: '',\n borderStrong: '',\n borderLight: '',\n error: '',\n 'error-8': '',\n 'error-10': '',\n 'error-12': '',\n 'error-35': '',\n success: '',\n successLight: '',\n warning: '',\n warningLight: '',\n info: '',\n infoLight: '',\n brandPrimaryRed: '',\n brandSecondaryOrange: '',\n 'brandSecondaryOrange-10': '',\n 'brandSecondaryOrange-20': '',\n accent: '',\n brandWhite: '',\n brandLightGray: '',\n brandDarkGray: '',\n brandBackgroundGradient: '',\n};\n\nexport const spacing = {\n auto: '',\n full: '',\n px: '',\n '-px': '',\n '-108': '',\n '-102': '',\n '-96': '',\n '-88': '',\n '-80': '',\n '-72': '',\n '-64': '',\n '-60': '',\n '-56': '',\n '-52': '',\n '-48': '',\n '-44': '',\n '-40': '',\n '-36': '',\n '-34': '',\n '-32': '',\n '-30': '',\n '-28': '',\n '-24': '',\n '-20': '',\n '-19': '',\n '-17.5': '',\n '-16': '',\n '-15': '',\n '-14': '',\n '-13': '',\n '-12': '',\n '-11': '',\n '-10': '',\n '-9': '',\n '-8': '',\n '-7': '',\n '-6': '',\n '-5': '',\n '-4': '',\n '-3.5': '',\n '-3': '',\n '-2.5': '',\n '-2': '',\n '-1.5': '',\n '-1': '',\n '-0.5': '',\n 0: '',\n 0.5: '',\n 1: '',\n 1.5: '',\n 2: '',\n 2.5: '',\n 3: '',\n 3.5: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n 13: '',\n 14: '',\n 15: '',\n 16: '',\n 17.5: '',\n 18: '',\n 18.5: '',\n 19: '',\n 20: '',\n 24: '',\n 28: '',\n 30: '',\n 32: '',\n 34: '',\n 36: '',\n 40: '',\n 44: '',\n 48: '',\n 52: '',\n 56: '',\n 60: '',\n 64: '',\n 72: '',\n 80: '',\n 88: '',\n 96: '',\n 102: '',\n 108: '',\n 112: '',\n 120: '',\n};\n\nexport const vars = createGlobalThemeContract(\n {\n spacing,\n screens: {\n sm: '',\n md: '',\n lg: '',\n xl: '',\n xxl: '',\n },\n animation: {\n none: '',\n spin: '',\n ping: '',\n pulse: '',\n bounce: '',\n },\n colors: {\n inherit: '',\n current: '',\n transparent: '',\n black: '',\n white: '',\n 'red-50': '',\n 'red-100': '',\n 'red-200': '',\n 'red-300': '',\n 'red-400': '',\n 'red-500': '',\n 'red-600': '',\n 'red-700': '',\n 'red-800': '',\n 'red-900': '',\n 'amber-50': '',\n 'amber-100': '',\n 'amber-200': '',\n 'amber-300': '',\n 'amber-400': '',\n 'amber-500': '',\n 'amber-600': '',\n 'amber-700': '',\n 'amber-800': '',\n 'amber-900': '',\n 'green-50': '',\n 'green-100': '',\n 'green-200': '',\n 'green-300': '',\n 'green-400': '',\n 'green-500': '',\n 'green-600': '',\n 'green-700': '',\n 'green-800': '',\n 'green-900': '',\n 'blue-50': '',\n 'blue-100': '',\n 'blue-200': '',\n 'blue-250': '',\n 'blue-300': '',\n 'blue-400': '',\n 'blue-500': '',\n 'blue-600': '',\n 'blue-700': '',\n 'blue-800': '',\n 'blue-900': '',\n 'white-500': '',\n 'transparent-500': '',\n 'transparent-125': '',\n 'black-440': '',\n 'black-300': '',\n 'black-200': '',\n 'black-100': '',\n 'black-10': '',\n 'black-2': '',\n primary: '',\n primaryLight: '',\n secondary: '',\n secondaryHover: '',\n secondaryLight: '',\n surface: '',\n surfaceSecondary: '',\n surfaceMuted: '',\n surfaceElevated: '',\n background: '',\n backgroundSecondary: '',\n backgroundTertiary: '',\n backgroundModifier: '',\n text: '',\n textSecondary: '',\n textMuted: '',\n border: '',\n borderSubtle: '',\n borderStrong: '',\n borderLight: '',\n error: '',\n 'error-8': '',\n 'error-10': '',\n 'error-12': '',\n 'error-35': '',\n success: '',\n successLight: '',\n warning: '',\n warningLight: '',\n info: '',\n infoLight: '',\n brandPrimaryRed: '',\n brandSecondaryOrange: '',\n 'brandSecondaryOrange-10': '',\n 'brandSecondaryOrange-20': '',\n accent: '',\n brandWhite: '',\n brandLightGray: '',\n brandDarkGray: '',\n brandBackgroundGradient: '',\n },\n backgroundImage: {\n brandDiagonal: '',\n brandDiagonal125: '',\n brandBackgroundGradient: '',\n pageShellSurface: '',\n floatingChatSurface: '',\n },\n borderRadius: {\n none: '',\n sm: '',\n default: '',\n md: '',\n lg: '',\n xl: '',\n '2xl': '',\n '3xl': '',\n '4xl': '',\n '1/2': '',\n full: '',\n },\n borderSpacing: spacing,\n borderWidth: {\n default: '',\n ...spacing,\n 0: '',\n 2: '',\n 4: '',\n 6: '',\n 8: '',\n 10: '',\n },\n boxShadow: {\n sm: '',\n default: '',\n md: '',\n lg: '',\n xl: '',\n '2xl': '',\n inkSoft: '',\n inkGlow: '',\n brandGlow: '',\n brandCardGlow: '',\n authCardGlow: '',\n profileDropdownShadow: '',\n badgeInset: '',\n badgeDotRing: '',\n primaryInsetRing: '',\n primaryLightRing: '',\n primaryLightRingStrong: '',\n successLightRing: '',\n sidebarActiveInset: '',\n inner: '',\n none: '',\n },\n dropShadow: {\n sm: '',\n default: '',\n md: '',\n lg: '',\n xl: '',\n '2xl': '',\n none: '',\n },\n grayscale: {\n 0: '',\n default: '',\n },\n hueRotate: {\n 0: '',\n 15: '',\n 30: '',\n 60: '',\n 90: '',\n 180: '',\n },\n invert: {\n 0: '',\n default: '',\n },\n flex: {\n 1: '',\n auto: '',\n initial: '',\n none: '',\n },\n flexBasis: {\n ...spacing,\n 260: '',\n '1/2': '',\n '1/3': '',\n '2/3': '',\n '1/4': '',\n '2/4': '',\n '3/4': '',\n '1/5': '',\n '2/5': '',\n '3/5': '',\n '4/5': '',\n '1/6': '',\n '2/6': '',\n '3/6': '',\n '4/6': '',\n '5/6': '',\n '1/12': '',\n '2/12': '',\n '3/12': '',\n '4/12': '',\n '5/12': '',\n '6/12': '',\n '7/12': '',\n '8/12': '',\n '9/12': '',\n '10/12': '',\n '11/12': '',\n full: '',\n },\n flexGrow: {\n 0: '',\n default: '',\n },\n flexShrink: {\n 0: '',\n default: '',\n },\n fontFamily: {\n sans: '',\n serif: '',\n mono: '',\n },\n fontSize: {\n '3xs': '',\n '2xs': '',\n xs: '',\n sm: '',\n base: '',\n lg: '',\n xl: '',\n '2xl': '',\n '3xl': '',\n '4xl': '',\n '5xl': '',\n '6xl': '',\n '7xl': '',\n '8xl': '',\n '9xl': '',\n responsive: '',\n },\n fontWeight: {\n thin: '',\n extralight: '',\n light: '',\n normal: '',\n medium: '',\n semibold: '',\n bold: '',\n extrabold: '',\n black: '',\n },\n gridAutoColumns: {\n auto: '',\n min: '',\n max: '',\n fr: '',\n },\n gridAutoRows: {\n auto: '',\n min: '',\n max: '',\n fr: '',\n },\n gridColumn: {\n auto: '',\n 'span-1': '',\n 'span-2': '',\n 'span-3': '',\n 'span-4': '',\n 'span-5': '',\n 'span-6': '',\n 'span-7': '',\n 'span-8': '',\n 'span-9': '',\n 'span-10': '',\n 'span-11': '',\n 'span-12': '',\n 'span-full': '',\n },\n gridColumnEnd: {\n auto: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n 13: '',\n },\n gridColumnStart: {\n auto: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n 13: '',\n },\n gridRow: {\n auto: '',\n 'span-1': '',\n 'span-2': '',\n 'span-3': '',\n 'span-4': '',\n 'span-5': '',\n 'span-6': '',\n 'span-full': '',\n },\n gridRowStart: {\n auto: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n },\n gridRowEnd: {\n auto: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n },\n gridTemplateColumns: {\n none: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n detailSingle: '',\n twoFrOneFr: '',\n detailAside320: '',\n settingsSplit: '',\n splitViewSplit: '',\n keyValueSplit: '',\n userProfileSplit: '',\n repeat4Fr: '',\n autoFillMinmax320: '',\n autoFitMinmax0: '',\n autoFitMinmax12_5rem: '',\n autoFitMinmax120: '',\n autoFitMinmax160: '',\n autoFitMinmax180: '',\n autoFitMinmax200: '',\n autoFitMinmax220: '',\n autoFitMinmax240: '',\n autoFitMinmax260: '',\n autoFitMinmax280: '',\n autoFitMinmax320: '',\n },\n gridTemplateRows: {\n none: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n autoMinmax0: '',\n autoAutoMinmax0: '',\n minmax0Auto: '',\n fr0: '',\n fr1: '',\n },\n left: { ...spacing, '1/2': '' },\n top: { ...spacing, '1/2': '' },\n height: {\n ...spacing,\n 1.1: '',\n 300: '',\n '1/2': '',\n '1/3': '',\n '2/3': '',\n '1/4': '',\n '2/4': '',\n '3/4': '',\n '1/5': '',\n '2/5': '',\n '3/5': '',\n '4/5': '',\n '1/6': '',\n '2/6': '',\n '3/6': '',\n '4/6': '',\n '5/6': '',\n full: '',\n screen: '',\n min: '',\n max: '',\n fit: '',\n auto: '',\n },\n inset: {\n ...spacing,\n '1/2': '',\n '1/3': '',\n '2/3': '',\n '1/4': '',\n '2/4': '',\n '3/4': '',\n full: '',\n },\n keyframes: {\n spin: {\n to: {\n transform: '',\n },\n },\n ping: {\n '75%, 100%': {\n transform: '',\n opacity: '',\n },\n },\n pulse: {\n '50%': {\n opacity: '',\n },\n },\n bounce: {\n '0%, 100%': {\n transform: '',\n animationTimingFunction: '',\n },\n '50%': {\n transform: '',\n animationTimingFunction: '',\n },\n },\n },\n letterSpacing: {\n tighter: '',\n tight: '',\n normal: '',\n wide: '',\n wider: '',\n widest: '',\n caps: '',\n capsTight: '',\n capsNarrow: '',\n },\n wordSpacing: {\n tighter: '',\n tight: '',\n normal: '',\n wide: '',\n wider: '',\n widest: '',\n },\n lineHeight: {\n ...spacing,\n 1.2: '',\n 1.3: '',\n 1.4: '',\n 1.45: '',\n 1.5: '',\n 1.6: '',\n 1.7: '',\n '3xs': '',\n '2xs': '',\n xs: '',\n sm: '',\n base: '',\n lg: '',\n xl: '',\n '2xl': '',\n '3xl': '',\n '4xl': '',\n '5xl': '',\n '6xl': '',\n '7xl': '',\n '8xl': '',\n '9xl': '',\n responsive: '',\n none: '',\n tight: '',\n snug: '',\n normal: '',\n relaxed: '',\n loose: '',\n },\n listStyleType: {\n none: '',\n disc: '',\n decimal: '',\n },\n margin: {\n ...spacing,\n },\n maxHeight: {\n ...spacing,\n '50vh': '',\n '70vh': '',\n '90vh': '',\n none: '',\n full: '',\n screen: '',\n min: '',\n max: '',\n fit: '',\n },\n maxWidth: {\n '2xl': '',\n '3xl': '',\n '4xl': '',\n '5xl': '',\n '6xl': '',\n '7xl': '',\n '12rem': '',\n '26rem': '',\n '50vw': '',\n 960: '',\n '2/5': '',\n '3/4': '',\n 700: '',\n 720: '',\n 800: '',\n 640: '',\n 0: '',\n fit: '',\n full: '',\n lg: '',\n max: '',\n md: '',\n min: '',\n none: '',\n prose: '',\n sm: '',\n xl: '',\n xs: '',\n },\n minHeight: {\n ...spacing,\n 350: '',\n 360: '',\n 0: '',\n fit: '',\n full: '',\n max: '',\n min: '',\n screen: '',\n auto: '',\n },\n minWidth: {\n 0: '',\n 360: '',\n 640: '',\n fit: '',\n full: '',\n max: '',\n min: '',\n },\n objectPosition: {\n 'left-bottom': '',\n 'left-top': '',\n 'right-bottom': '',\n 'right-top': '',\n bottom: '',\n center: '',\n left: '',\n right: '',\n top: '',\n },\n opacity: {\n 0: '',\n 5: '',\n 10: '',\n 20: '',\n 25: '',\n 30: '',\n 35: '',\n 40: '',\n 50: '',\n 60: '',\n 70: '',\n 75: '',\n 80: '',\n 90: '',\n 95: '',\n 100: '',\n },\n order: {\n first: '',\n last: '',\n none: '',\n 1: '',\n 2: '',\n 3: '',\n 4: '',\n 5: '',\n 6: '',\n 7: '',\n 8: '',\n 9: '',\n 10: '',\n 11: '',\n 12: '',\n },\n outlineOffset: {\n 0: '',\n 1: '',\n 2: '',\n 4: '',\n 8: '',\n },\n outlineWidth: {\n 0: '',\n 1: '',\n 2: '',\n 4: '',\n 8: '',\n },\n rotate: {\n 0: '',\n 1: '',\n 2: '',\n 3: '',\n 6: '',\n 12: '',\n 45: '',\n 90: '',\n 180: '',\n },\n scale: {\n 0: '',\n 50: '',\n 75: '',\n 90: '',\n 95: '',\n 100: '',\n 105: '',\n 110: '',\n 125: '',\n 150: '',\n },\n sepia: {\n 0: '',\n default: '',\n },\n skew: {\n 0: '',\n 1: '',\n 2: '',\n 3: '',\n 6: '',\n 12: '',\n },\n stroke: {\n ...colors,\n none: '',\n },\n strokeWidth: {\n 0: '',\n 1: '',\n 2: '',\n },\n textDecorationThickness: {\n auto: '',\n 'from-font': '',\n 0: '',\n 1: '',\n 2: '',\n 4: '',\n 8: '',\n },\n textUnderlineOffset: {\n auto: '',\n 0: '',\n 1: '',\n 2: '',\n 4: '',\n 8: '',\n },\n transform: {\n 0: '',\n 100: '',\n 200: '',\n center: '',\n left: '',\n right: '',\n },\n transitionDelay: {\n 75: '',\n 100: '',\n 150: '',\n 200: '',\n 300: '',\n 500: '',\n 700: '',\n 1000: '',\n },\n transitionDuration: {\n default: '',\n 75: '',\n 100: '',\n 120: '',\n 150: '',\n 160: '',\n 200: '',\n 300: '',\n 500: '',\n 700: '',\n 1000: '',\n },\n transitionProperty: {\n none: '',\n all: '',\n default: '',\n colors: '',\n gap: '',\n gridTemplateRows: '',\n gridTemplateRowsOpacity: '',\n left: '',\n opacity: '',\n opacityVisibility: '',\n shadow: '',\n transform: '',\n width: '',\n },\n transitionTimingFunction: {\n default: '',\n linear: '',\n ease: '',\n in: '',\n 'ease-in-out': '',\n out: '',\n 'in-out': '',\n },\n width: {\n ...spacing,\n 1.1: '',\n auto: '',\n 140: '',\n 260: '',\n 300: '',\n '8%': '',\n '10%': '',\n '12%': '',\n '15%': '',\n '16%': '',\n '22%': '',\n '26%': '',\n '30%': '',\n '70%': '',\n '1/2': '',\n '1/3': '',\n '2/3': '',\n '1/4': '',\n '2/4': '',\n '3/4': '',\n '1/5': '',\n '2/5': '',\n '3/5': '',\n '4/5': '',\n '1/6': '',\n '2/6': '',\n '3/6': '',\n '4/6': '',\n '5/6': '',\n '1/12': '',\n '2/12': '',\n '3/12': '',\n '4/12': '',\n '5/12': '',\n '6/12': '',\n '7/12': '',\n '8/12': '',\n '9/12': '',\n '10/12': '',\n '11/12': '',\n full: '',\n screen: '',\n min: '',\n max: '',\n fit: '',\n },\n zIndex: {\n auto: '',\n modal: '',\n 0: '',\n 1: '',\n 4: '',\n 10: '',\n 20: '',\n 30: '',\n 40: '',\n 50: '',\n },\n },\n (value, path) => {\n if (value != null && value !== '') {\n return value;\n }\n\n const newValue = path.join('-').replace(/[./%, ]/g, '-');\n\n return `plumile-${newValue}`;\n },\n);\n"],"mappings":";;AAEA,IAAa,IAAS;CACpB,SAAS;CACT,SAAS;CACT,aAAa;CACb,OAAO;CACP,OAAO;CACP,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,YAAY;CACZ,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,YAAY;CACZ,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,aAAa;CACb,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,YAAY;C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ACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAM;EACP;CACD,oBAAoB;EAClB,MAAM;EACN,KAAK;EACL,SAAS;EACT,QAAQ;EACR,KAAK;EACL,kBAAkB;EAClB,yBAAyB;EACzB,MAAM;EACN,SAAS;EACT,mBAAmB;EACnB,QAAQ;EACR,WAAW;EACX,OAAO;EACR;CACD,0BAA0B;EACxB,SAAS;EACT,QAAQ;EACR,MAAM;EACN,IAAI;EACJ,eAAe;EACf,KAAK;EACL,UAAU;EACX;CACD,OAAO;EACL,GAAG;EACH,KAAK;EACL,MAAM;EACN,KAAK;EACL,KAAK;EACL,KAAK;EACL,MAAM;EACN,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,SAAS;EACT,SAAS;EACT,MAAM;EACN,QAAQ;EACR,KAAK;EACL,KAAK;EACL,KAAK;EACN;CACD,QAAQ;EACN,MAAM;EACN,OAAO;EACP,GAAG;EACH,GAAG;EACH,GAAG;EACH,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACL;CACF,GACA,GAAO,MACF,KAAS,QAAQ,MAAU,KACtB,IAKF,WAFU,EAAK,KAAK,IAAI,CAAC,QAAQ,YAAY,IAAI,GAI3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbMenuDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAQjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEvE,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,+FAQpC,KAAK,KAAG,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"BreadcrumbMenuDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/atomic/molecules/breadcrumb_navigation/BreadcrumbMenuDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAQjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEvE,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,+FAQpC,KAAK,KAAG,GAAG,CAAC,OAqDd,CAAC"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { type JSX } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { BreadcrumbNavigationItem, BreadcrumbNode } from './types.js';
|
|
3
3
|
type Props = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
groupMenu?: BreadcrumbMenuConfig;
|
|
8
|
-
projectMenu?: BreadcrumbMenuConfig;
|
|
4
|
+
root: BreadcrumbNode;
|
|
5
|
+
rootAriaLabel: string;
|
|
6
|
+
items?: readonly BreadcrumbNavigationItem[];
|
|
9
7
|
className?: string;
|
|
10
8
|
};
|
|
11
9
|
export declare const BreadcrumbNavigation: (props: Props) => JSX.Element;
|
|
12
|
-
export type { BreadcrumbNode, BreadcrumbMenuItem, BreadcrumbMenuConfig, } from './types.js';
|
|
10
|
+
export type { BreadcrumbNavigationItem, BreadcrumbNode, BreadcrumbMenuItem, BreadcrumbMenuConfig, BreadcrumbMenuLabels, } from './types.js';
|
|
13
11
|
//# sourceMappingURL=BreadcrumbNavigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BreadcrumbNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAOjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE3E,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,cAAc,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,wBAAwB,EAAE,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,KAAK,KAAG,GAAG,CAAC,OAiDvD,CAAC;AAEF,YAAY,EACV,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,YAAY,CAAC"}
|
|
@@ -12,4 +12,22 @@ export type BreadcrumbMenuConfig = {
|
|
|
12
12
|
items: readonly BreadcrumbMenuItem[];
|
|
13
13
|
selectedId?: string | null;
|
|
14
14
|
};
|
|
15
|
+
export type BreadcrumbMenuLabels = {
|
|
16
|
+
ariaLabel: string;
|
|
17
|
+
searchPlaceholder: string;
|
|
18
|
+
searchAriaLabel: string;
|
|
19
|
+
emptyLabel: string;
|
|
20
|
+
emptyMatchesLabel: string;
|
|
21
|
+
};
|
|
22
|
+
export type BreadcrumbNavigationItem = {
|
|
23
|
+
id: string;
|
|
24
|
+
node: BreadcrumbNode;
|
|
25
|
+
menu?: undefined;
|
|
26
|
+
labels?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
id: string;
|
|
29
|
+
node: BreadcrumbNode;
|
|
30
|
+
menu: BreadcrumbMenuConfig;
|
|
31
|
+
labels: BreadcrumbMenuLabels;
|
|
32
|
+
};
|
|
15
33
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/atomic/molecules/breadcrumb_navigation/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/atomic/molecules/breadcrumb_navigation/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAChC;IACE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,GACD;IACE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,MAAM,EAAE,oBAAoB,CAAC;CAC9B,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export { Modal } from './atomic/atoms/modal/Modal.js';
|
|
|
12
12
|
export { Overlay } from './atomic/atoms/overlay/Overlay.js';
|
|
13
13
|
export { Textarea } from './atomic/atoms/textarea/Textarea.js';
|
|
14
14
|
export { Card } from './atomic/molecules/card/Card.js';
|
|
15
|
-
export { BreadcrumbNavigation, type BreadcrumbMenuConfig, type BreadcrumbMenuItem, type BreadcrumbNode, } from './atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.js';
|
|
15
|
+
export { BreadcrumbNavigation, type BreadcrumbMenuLabels, type BreadcrumbMenuConfig, type BreadcrumbMenuItem, type BreadcrumbNavigationItem, type BreadcrumbNode, } from './atomic/molecules/breadcrumb_navigation/BreadcrumbNavigation.js';
|
|
16
16
|
export { FormActions, type FormActionsProps, } from './atomic/molecules/form-actions/FormActions.js';
|
|
17
17
|
export { CheckboxField } from './atomic/molecules/checkbox_field/CheckboxField.js';
|
|
18
18
|
export { FormError } from './atomic/molecules/form_error/FormError.js';
|
|
@@ -25,7 +25,6 @@ export { LazyMarkdownRenderer } from './atomic/molecules/markdown/LazyMarkdownRe
|
|
|
25
25
|
export { MarkdownRenderer } from './atomic/molecules/markdown/MarkdownRenderer.js';
|
|
26
26
|
export { markdownFontSizeVar, markdownLinkColorVar, markdownLinkDisabledColorVar, markdownLinkHoverColorVar, markdownLinkIconColorVar, markdownTextColorVar, } from './atomic/molecules/markdown/markdownVars.css.js';
|
|
27
27
|
export { EmptyState } from './atomic/molecules/empty-state/EmptyState.js';
|
|
28
|
-
export { ProfileDropdown } from './atomic/molecules/profile_dropdown/ProfileDropdown.js';
|
|
29
28
|
export { Tabs, type TabItem, type TabsProps, } from './atomic/molecules/tabs/Tabs.js';
|
|
30
29
|
export { ToastProvider, type ToastApi, useToast, } from './atomic/molecules/toast/ToastProvider.js';
|
|
31
30
|
export { ToastViewport, type ToastAction, type ToastItem, type ToastKind, type ToastViewportProps, } from './atomic/molecules/toast/ToastViewport.js';
|
package/lib/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,KAAK,EA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,+DAA+D,CAAC;AAC9E,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -4,7 +4,7 @@ type ThemeContextValue = {
|
|
|
4
4
|
currentTheme: ThemeName;
|
|
5
5
|
setTheme: (theme: ThemeName) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const THEME_KEY = "
|
|
7
|
+
export declare const THEME_KEY = "plumile-theme-preference";
|
|
8
8
|
type ThemeProviderProps = {
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
defaultTheme?: ThemeName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,GAAG,EACR,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAEf,KAAK,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAElC,KAAK,iBAAiB,GAAG;IACvB,YAAY,EAAE,SAAS,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACtC,CAAC;AAIF,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,GAAG,EACR,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAEf,KAAK,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAElC,KAAK,iBAAiB,GAAG;IACvB,YAAY,EAAE,SAAS,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACtC,CAAC;AAIF,eAAO,MAAM,SAAS,6BAA6B,CAAC;AAQpD,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,6BAG3B,kBAAkB,KAAG,GAAG,CAAC,OA2C3B,CAAC;AAEF,eAAO,MAAM,QAAQ,QAAO,iBAQ3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumile/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.72",
|
|
4
4
|
"description": "Shared React UI primitives and theme for Plumile applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
132
|
"@nivo/line": "0.99.0",
|
|
133
|
-
"@plumile/router": "^0.1.
|
|
133
|
+
"@plumile/router": "^0.1.72",
|
|
134
134
|
"@vanilla-extract/css": "^1.19.0",
|
|
135
135
|
"@vanilla-extract/recipes": "^0.5.7",
|
|
136
136
|
"@vanilla-extract/sprinkles": "^1.6.5",
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { cx as e } from "../../../theme/tools.js";
|
|
2
|
-
import { ChevronDownSvg as t } from "../../../icons/ChevronDownSvg.js";
|
|
3
|
-
import { ProfileDropdownLogoutSvg as n } from "../../../icons/ProfileDropdownLogoutSvg.js";
|
|
4
|
-
import { ProfileDropdownOrganizationSvg as r } from "../../../icons/ProfileDropdownOrganizationSvg.js";
|
|
5
|
-
import { avatar as i, chevron as a, chevronOpen as o, container as s, dropdown as c, menuIcon as l, menuItem as u, menuLabel as d, organizationName as f, selectButton as p, selectContent as m, selectText as h, userName as g } from "./profileDropdown.css.js";
|
|
6
|
-
import { useEffect as _, useRef as v, useState as y } from "react";
|
|
7
|
-
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
8
|
-
import { Link as S } from "@plumile/router";
|
|
9
|
-
//#region src/atomic/molecules/profile_dropdown/ProfileDropdown.tsx
|
|
10
|
-
var C = {
|
|
11
|
-
menuAriaLabel: "User menu",
|
|
12
|
-
profileSecurity: "Profile & Security",
|
|
13
|
-
switchOrganizations: "Switch Organizations",
|
|
14
|
-
signOut: "Sign Out"
|
|
15
|
-
}, w = (w) => {
|
|
16
|
-
let [T, E] = y(!1), D = v(null), { viewer: O, organization: k, labels: A = C } = w, j = () => {
|
|
17
|
-
E((e) => !e);
|
|
18
|
-
}, M = () => {
|
|
19
|
-
E(!1);
|
|
20
|
-
};
|
|
21
|
-
_(() => {
|
|
22
|
-
let e = (e) => {
|
|
23
|
-
D.current != null && !D.current.contains(e.target) && E(!1);
|
|
24
|
-
};
|
|
25
|
-
return document.addEventListener("mousedown", e), () => {
|
|
26
|
-
document.removeEventListener("mousedown", e);
|
|
27
|
-
};
|
|
28
|
-
}, []);
|
|
29
|
-
let N = [O.firstName, O.lastName].filter((e) => e.trim().length > 0).join(" "), P = null;
|
|
30
|
-
return T && (P = /* @__PURE__ */ x("div", {
|
|
31
|
-
className: c,
|
|
32
|
-
role: "menu",
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ x(S, {
|
|
35
|
-
to: w.profilePath,
|
|
36
|
-
className: u,
|
|
37
|
-
onClick: M,
|
|
38
|
-
children: [/* @__PURE__ */ b("span", {
|
|
39
|
-
className: l,
|
|
40
|
-
children: /* @__PURE__ */ b(r, {
|
|
41
|
-
width: 16,
|
|
42
|
-
height: 16
|
|
43
|
-
})
|
|
44
|
-
}), /* @__PURE__ */ b("span", {
|
|
45
|
-
className: d,
|
|
46
|
-
children: A.profileSecurity
|
|
47
|
-
})]
|
|
48
|
-
}),
|
|
49
|
-
/* @__PURE__ */ x(S, {
|
|
50
|
-
to: k.switchPath,
|
|
51
|
-
className: u,
|
|
52
|
-
onClick: M,
|
|
53
|
-
children: [/* @__PURE__ */ b("span", {
|
|
54
|
-
className: l,
|
|
55
|
-
children: /* @__PURE__ */ b(r, {
|
|
56
|
-
width: 16,
|
|
57
|
-
height: 16
|
|
58
|
-
})
|
|
59
|
-
}), /* @__PURE__ */ b("span", {
|
|
60
|
-
className: d,
|
|
61
|
-
children: A.switchOrganizations
|
|
62
|
-
})]
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ x("button", {
|
|
65
|
-
className: u,
|
|
66
|
-
onClick: () => {
|
|
67
|
-
w.onSignOut?.(), M();
|
|
68
|
-
},
|
|
69
|
-
type: "button",
|
|
70
|
-
role: "menuitem",
|
|
71
|
-
children: [/* @__PURE__ */ b("span", {
|
|
72
|
-
className: l,
|
|
73
|
-
children: /* @__PURE__ */ b(n, {
|
|
74
|
-
width: 16,
|
|
75
|
-
height: 16
|
|
76
|
-
})
|
|
77
|
-
}), /* @__PURE__ */ b("span", {
|
|
78
|
-
className: d,
|
|
79
|
-
children: A.signOut
|
|
80
|
-
})]
|
|
81
|
-
})
|
|
82
|
-
]
|
|
83
|
-
})), /* @__PURE__ */ x("div", {
|
|
84
|
-
className: e(s, w.className),
|
|
85
|
-
ref: D,
|
|
86
|
-
children: [/* @__PURE__ */ x("button", {
|
|
87
|
-
className: p,
|
|
88
|
-
onClick: j,
|
|
89
|
-
"aria-expanded": T,
|
|
90
|
-
"aria-haspopup": "menu",
|
|
91
|
-
"aria-label": A.menuAriaLabel,
|
|
92
|
-
type: "button",
|
|
93
|
-
children: [/* @__PURE__ */ x("span", {
|
|
94
|
-
className: m,
|
|
95
|
-
children: [/* @__PURE__ */ b("span", {
|
|
96
|
-
className: i,
|
|
97
|
-
children: O.initials
|
|
98
|
-
}), /* @__PURE__ */ x("span", {
|
|
99
|
-
className: h,
|
|
100
|
-
children: [/* @__PURE__ */ b("span", {
|
|
101
|
-
className: g,
|
|
102
|
-
children: N
|
|
103
|
-
}), /* @__PURE__ */ b("span", {
|
|
104
|
-
className: f,
|
|
105
|
-
children: k.name
|
|
106
|
-
})]
|
|
107
|
-
})]
|
|
108
|
-
}), /* @__PURE__ */ b(t, {
|
|
109
|
-
width: 16,
|
|
110
|
-
height: 16,
|
|
111
|
-
className: e(a, { [o]: T })
|
|
112
|
-
})]
|
|
113
|
-
}), P]
|
|
114
|
-
});
|
|
115
|
-
};
|
|
116
|
-
//#endregion
|
|
117
|
-
export { w as ProfileDropdown, w as default };
|
|
118
|
-
|
|
119
|
-
//# sourceMappingURL=ProfileDropdown.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileDropdown.js","names":[],"sources":["../../../../../src/atomic/molecules/profile_dropdown/ProfileDropdown.tsx"],"sourcesContent":["import { useEffect, useRef, useState, type JSX } from 'react';\nimport { Link } from '@plumile/router';\n\nimport { ChevronDownSvg } from '../../../icons/ChevronDownSvg.js';\nimport { ProfileDropdownLogoutSvg } from '../../../icons/ProfileDropdownLogoutSvg.js';\nimport { ProfileDropdownOrganizationSvg } from '../../../icons/ProfileDropdownOrganizationSvg.js';\nimport { cx } from '../../../theme/tools.js';\nimport * as classes from './profileDropdown.css.js';\n\ntype Props = {\n viewer: {\n firstName: string;\n lastName: string;\n initials: string;\n };\n profilePath: string;\n organization: {\n name: string;\n switchPath: string;\n };\n labels?: {\n menuAriaLabel: string;\n profileSecurity: string;\n switchOrganizations: string;\n signOut: string;\n };\n className?: string;\n onSignOut?: () => void;\n};\n\nconst DEFAULT_LABELS = {\n menuAriaLabel: 'User menu',\n profileSecurity: 'Profile & Security',\n switchOrganizations: 'Switch Organizations',\n signOut: 'Sign Out',\n};\n\nexport const ProfileDropdown = (props: Props): JSX.Element | null => {\n const [isOpen, setIsOpen] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n\n const { viewer, organization, labels = DEFAULT_LABELS } = props;\n\n const toggleDropdown = (): void => {\n setIsOpen((prev) => {\n return !prev;\n });\n };\n\n const closeDropdown = (): void => {\n setIsOpen(false);\n };\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent): void => {\n if (\n dropdownRef.current != null &&\n !dropdownRef.current.contains(event.target as Node)\n ) {\n setIsOpen(false);\n }\n };\n\n document.addEventListener('mousedown', handleClickOutside);\n return () => {\n document.removeEventListener('mousedown', handleClickOutside);\n };\n }, []);\n\n const displayNameParts = [viewer.firstName, viewer.lastName].filter(\n (part) => {\n return part.trim().length > 0;\n },\n );\n const userDisplayName = displayNameParts.join(' ');\n\n let dropdownMenu: JSX.Element | null = null;\n if (isOpen) {\n dropdownMenu = (\n <div className={classes.dropdown} role=\"menu\">\n <Link\n to={props.profilePath}\n className={classes.menuItem}\n onClick={closeDropdown}\n >\n <span className={classes.menuIcon}>\n <ProfileDropdownOrganizationSvg width={16} height={16} />\n </span>\n <span className={classes.menuLabel}>{labels.profileSecurity}</span>\n </Link>\n <Link\n to={organization.switchPath}\n className={classes.menuItem}\n onClick={closeDropdown}\n >\n <span className={classes.menuIcon}>\n <ProfileDropdownOrganizationSvg width={16} height={16} />\n </span>\n <span className={classes.menuLabel}>\n {labels.switchOrganizations}\n </span>\n </Link>\n\n <button\n className={classes.menuItem}\n onClick={() => {\n props.onSignOut?.();\n closeDropdown();\n }}\n type=\"button\"\n role=\"menuitem\"\n >\n <span className={classes.menuIcon}>\n <ProfileDropdownLogoutSvg width={16} height={16} />\n </span>\n <span className={classes.menuLabel}>{labels.signOut}</span>\n </button>\n </div>\n );\n }\n\n return (\n <div className={cx(classes.container, props.className)} ref={dropdownRef}>\n <button\n className={classes.selectButton}\n onClick={toggleDropdown}\n aria-expanded={isOpen}\n aria-haspopup=\"menu\"\n aria-label={labels.menuAriaLabel}\n type=\"button\"\n >\n <span className={classes.selectContent}>\n <span className={classes.avatar}>{viewer.initials}</span>\n <span className={classes.selectText}>\n <span className={classes.userName}>{userDisplayName}</span>\n <span className={classes.organizationName}>\n {organization.name}\n </span>\n </span>\n </span>\n <ChevronDownSvg\n width={16}\n height={16}\n className={cx(classes.chevron, {\n [classes.chevronOpen]: isOpen,\n })}\n />\n </button>\n\n {dropdownMenu}\n </div>\n );\n};\n\nexport default ProfileDropdown;\n"],"mappings":";;;;;;;;;AA8BA,IAAM,IAAiB;CACrB,eAAe;CACf,iBAAiB;CACjB,qBAAqB;CACrB,SAAS;CACV,EAEY,KAAmB,MAAqC;CACnE,IAAM,CAAC,GAAQ,KAAa,EAAS,GAAM,EACrC,IAAc,EAAuB,KAAK,EAE1C,EAAE,WAAQ,iBAAc,YAAS,MAAmB,GAEpD,UAA6B;AACjC,KAAW,MACF,CAAC,EACR;IAGE,UAA4B;AAChC,IAAU,GAAM;;AAGlB,SAAgB;EACd,IAAM,KAAsB,MAA4B;AACtD,GACE,EAAY,WAAW,QACvB,CAAC,EAAY,QAAQ,SAAS,EAAM,OAAe,IAEnD,EAAU,GAAM;;AAKpB,SADA,SAAS,iBAAiB,aAAa,EAAmB,QAC7C;AACX,YAAS,oBAAoB,aAAa,EAAmB;;IAE9D,EAAE,CAAC;CAON,IAAM,IALmB,CAAC,EAAO,WAAW,EAAO,SAAS,CAAC,QAC1D,MACQ,EAAK,MAAM,CAAC,SAAS,EAE/B,CACwC,KAAK,IAAI,EAE9C,IAAmC;AA6CvC,QA5CI,MACF,IACE,kBAAC,OAAD;EAAK,WAAW;EAAkB,MAAK;YAAvC;GACE,kBAAC,GAAD;IACE,IAAI,EAAM;IACV,WAAW;IACX,SAAS;cAHX,CAKE,kBAAC,QAAD;KAAM,WAAW;eACf,kBAAC,GAAD;MAAgC,OAAO;MAAI,QAAQ;MAAM,CAAA;KACpD,CAAA,EACP,kBAAC,QAAD;KAAM,WAAW;eAAoB,EAAO;KAAuB,CAAA,CAC9D;;GACP,kBAAC,GAAD;IACE,IAAI,EAAa;IACjB,WAAW;IACX,SAAS;cAHX,CAKE,kBAAC,QAAD;KAAM,WAAW;eACf,kBAAC,GAAD;MAAgC,OAAO;MAAI,QAAQ;MAAM,CAAA;KACpD,CAAA,EACP,kBAAC,QAAD;KAAM,WAAW;eACd,EAAO;KACH,CAAA,CACF;;GAEP,kBAAC,UAAD;IACE,WAAW;IACX,eAAe;AAEb,KADA,EAAM,aAAa,EACnB,GAAe;;IAEjB,MAAK;IACL,MAAK;cAPP,CASE,kBAAC,QAAD;KAAM,WAAW;eACf,kBAAC,GAAD;MAA0B,OAAO;MAAI,QAAQ;MAAM,CAAA;KAC9C,CAAA,EACP,kBAAC,QAAD;KAAM,WAAW;eAAoB,EAAO;KAAe,CAAA,CACpD;;GACL;MAKR,kBAAC,OAAD;EAAK,WAAW,EAAG,GAAmB,EAAM,UAAU;EAAE,KAAK;YAA7D,CACE,kBAAC,UAAD;GACE,WAAW;GACX,SAAS;GACT,iBAAe;GACf,iBAAc;GACd,cAAY,EAAO;GACnB,MAAK;aANP,CAQE,kBAAC,QAAD;IAAM,WAAW;cAAjB,CACE,kBAAC,QAAD;KAAM,WAAW;eAAiB,EAAO;KAAgB,CAAA,EACzD,kBAAC,QAAD;KAAM,WAAW;eAAjB,CACE,kBAAC,QAAD;MAAM,WAAW;gBAAmB;MAAuB,CAAA,EAC3D,kBAAC,QAAD;MAAM,WAAW;gBACd,EAAa;MACT,CAAA,CACF;OACF;OACP,kBAAC,GAAD;IACE,OAAO;IACP,QAAQ;IACR,WAAW,EAAG,GAAiB,GAC5B,IAAsB,GACxB,CAAC;IACF,CAAA,CACK;MAER,EACG"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
/* empty css */
|
|
3
|
-
//#region src/atomic/molecules/profile_dropdown/profileDropdown.css.ts
|
|
4
|
-
var e = "_1vukrf60 txvbqbpsf txvbqbu6f", t = "_1vukrf61 txvbqbnv6 txvbqboif txvbqbp5f txvbqblx6 txvbqb9io txvbqbco txvbqbdoo txvbqbu6f txvbqb1rx txvbqbv4h txvbqbv txvbqbt5o txvbqb1co txvbqb1qf txvbqbwo", n = "_1vukrf62 txvbqb9io txvbqbco txvbqbaof txvbqb9mx txvbqbk4x", r = "_1vukrf63 txvbqb9io txvbqbco txvbqbdnx txvbqbtx6 txvbqbc6o txvbqb1sx txvbqbuy6 txvbqbv9z txvbqb8o txvbqbamo txvbqb66", i = "_1vukrf64 txvbqb9io txvbqbai6 txvbqbk4x", a = "_1vukrf65 txvbqbps6 txvbqbthf txvbqbdpf txvbqbiio txvbqbuso txvbqbkgo txvbqbv4h txvbqb1ro txvbqb1co txvbqb1qf txvbqb106 txvbqbuux txvbqbl9x txvbqb8s6", o = "_1vukrf66 txvbqb8x txvbqbamo txvbqbv53 txvbqbuw6 txvbqbl6f txvbqbt6f", s = "_1vukrf67 txvbqb8o txvbqbamo txvbqbv53 txvbqbvar txvbqbuw6 txvbqbl6f txvbqbt6f", c = "_1vukrf69 _1vukrf68 txvbqbnv6 txvbqboif txvbqbp5f txvbqblx6 txvbqb77 txvbqb6x txvbqb7k txvbqb9io txvbqbco txvbqbu6f txvbqb12f txvbqb1px txvbqbuzj txvbqb1rf txvbqbv txvbqbt5o txvbqb3b txvbqbva3 txvbqb8x txvbqbamo", l = "_1vukrf6a txvbqb9io txvbqbco txvbqbdnx txvbqbha6 txvbqbv4z", u = "_1vukrf6b txvbqb9mx txvbqbuw6", d = "_1vukrf6c txvbqbv9p txvbqb7g txvbqb6x txvbqb7k", f = "_1vukrf6d txvbqb2w";
|
|
5
|
-
//#endregion
|
|
6
|
-
export { r as avatar, d as chevron, f as chevronOpen, e as container, a as dropdown, l as menuIcon, c as menuItem, u as menuLabel, s as organizationName, t as selectButton, n as selectContent, i as selectText, o as userName };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=profileDropdown.css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"profileDropdown.css.js","names":[],"sources":["../../../../../src/atomic/molecules/profile_dropdown/profileDropdown.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { sprinkles } from '../../../theme/sprinkles.css.js';\nimport { vars } from '../../../theme/themeContract.js';\n\nexport const container = sprinkles({\n position: 'relative',\n width: 'full',\n});\n\nexport const selectButton = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n width: 'full',\n paddingY: 2,\n paddingX: 3,\n borderRadius: 'xl',\n backgroundColor: 'brandWhite',\n cursor: 'pointer',\n textAlign: 'left',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'borderSubtle',\n});\n\nexport const selectContent = sprinkles({\n display: 'flex',\n alignItems: 'center',\n gap: 3,\n flex: 1,\n minWidth: 0,\n});\n\nexport const avatar = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 8,\n height: 8,\n borderRadius: '1/2',\n backgroundImage: 'brandDiagonal',\n color: 'brandWhite',\n fontSize: 'xs',\n fontWeight: 'semibold',\n textTransform: 'uppercase',\n});\n\nexport const selectText = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n minWidth: 0,\n});\n\nexport const dropdown = sprinkles({\n position: 'absolute',\n top: 'full',\n left: 0,\n marginTop: 1.5,\n width: 'max',\n minWidth: 'full',\n backgroundColor: 'brandWhite',\n borderRadius: 'lg',\n borderWidth: 'default',\n borderStyle: 'solid',\n borderColor: 'brandPrimaryRed',\n zIndex: 30,\n padding: 2,\n boxShadow: 'profileDropdownShadow',\n});\n\nexport const userName = sprinkles({\n fontSize: 'sm',\n fontWeight: 'semibold',\n color: 'black',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n});\n\nexport const organizationName = sprinkles({\n fontSize: 'xs',\n fontWeight: 'semibold',\n color: 'black',\n opacity: 50,\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n});\n\nexport const menuItem = style([\n sprinkles({\n transitionProperty: 'default',\n transitionDuration: 150,\n transitionTimingFunction: 'ease',\n display: 'flex',\n alignItems: 'center',\n width: 'full',\n paddingY: 2,\n paddingX: 3,\n borderWidth: 0,\n borderStyle: 'none',\n backgroundColor: 'transparent',\n borderRadius: 'md',\n cursor: 'pointer',\n textAlign: 'left',\n textDecoration: 'none',\n color: 'brandDarkGray',\n fontSize: 'sm',\n fontWeight: 'semibold',\n }),\n {\n selectors: {\n '& + &': {\n marginTop: vars.spacing[1],\n },\n },\n ':hover': {\n backgroundColor: vars.colors.brandLightGray,\n color: vars.colors.brandPrimaryRed,\n textDecoration: 'none',\n },\n ':focus-visible': {\n outline: 'none',\n boxShadow: `0 0 0 2px ${vars.colors.brandPrimaryRed}`,\n },\n },\n]);\n\nexport const menuIcon = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n marginRight: 3,\n color: 'current',\n});\n\nexport const menuLabel = sprinkles({\n flex: 1,\n whiteSpace: 'nowrap',\n});\n\nexport const chevron = sprinkles({\n color: 'brandPrimaryRed',\n transitionProperty: 'transform',\n transitionDuration: 150,\n transitionTimingFunction: 'ease',\n});\n\nexport const chevronOpen = sprinkles({\n rotate: 180,\n});\n"],"mappings":""}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type JSX } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
viewer: {
|
|
4
|
-
firstName: string;
|
|
5
|
-
lastName: string;
|
|
6
|
-
initials: string;
|
|
7
|
-
};
|
|
8
|
-
profilePath: string;
|
|
9
|
-
organization: {
|
|
10
|
-
name: string;
|
|
11
|
-
switchPath: string;
|
|
12
|
-
};
|
|
13
|
-
labels?: {
|
|
14
|
-
menuAriaLabel: string;
|
|
15
|
-
profileSecurity: string;
|
|
16
|
-
switchOrganizations: string;
|
|
17
|
-
signOut: string;
|
|
18
|
-
};
|
|
19
|
-
className?: string;
|
|
20
|
-
onSignOut?: () => void;
|
|
21
|
-
};
|
|
22
|
-
export declare const ProfileDropdown: (props: Props) => JSX.Element | null;
|
|
23
|
-
export default ProfileDropdown;
|
|
24
|
-
//# sourceMappingURL=ProfileDropdown.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/atomic/molecules/profile_dropdown/ProfileDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAS9D,KAAK,KAAK,GAAG;IACX,MAAM,EAAE;QACN,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,MAAM,CAAC,EAAE;QACP,aAAa,EAAE,MAAM,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;QACxB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AASF,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,KAAG,GAAG,CAAC,OAAO,GAAG,IAmH5D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|