@handijitcom/ui 2.0.1 → 3.1.0
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/README.md +202 -71
- package/build/calendar.cjs +1 -1
- package/build/calendar.cjs.map +1 -1
- package/build/calendar.css +1 -1
- package/build/calendar.js +109 -111
- package/build/calendar.js.map +1 -1
- package/build/chat.cjs +1 -1
- package/build/chat.cjs.map +1 -1
- package/build/chat.css +1 -1
- package/build/chat.js +2 -2
- package/build/chat.js.map +1 -1
- package/build/components/Alert/style.css +1 -1
- package/build/components/Avatar/index.cjs.map +1 -1
- package/build/components/Avatar/index.d.cts +1 -1
- package/build/components/Avatar/index.d.ts +1 -1
- package/build/components/Avatar/index.js.map +1 -1
- package/build/components/Avatar/style.css +1 -1
- package/build/components/Badge/index.cjs +1 -1
- package/build/components/Badge/index.cjs.map +1 -1
- package/build/components/Badge/index.d.cts +4 -2
- package/build/components/Badge/index.d.ts +4 -2
- package/build/components/Badge/index.js +1 -1
- package/build/components/Badge/index.js.map +1 -1
- package/build/components/Badge/style.css +1 -1
- package/build/components/BrandSurface/index.cjs +2 -0
- package/build/components/BrandSurface/index.cjs.map +1 -0
- package/build/components/BrandSurface/index.d.cts +46 -0
- package/build/components/BrandSurface/index.d.ts +46 -0
- package/build/components/BrandSurface/index.js +128 -0
- package/build/components/BrandSurface/index.js.map +1 -0
- package/build/components/BrandSurface/style.css +1 -0
- package/build/components/BulkPasteInput/index.cjs +2 -0
- package/build/components/BulkPasteInput/index.cjs.map +1 -0
- package/build/components/BulkPasteInput/index.d.cts +26 -0
- package/build/components/BulkPasteInput/index.d.ts +26 -0
- package/build/components/BulkPasteInput/index.js +80 -0
- package/build/components/BulkPasteInput/index.js.map +1 -0
- package/build/components/BulkPasteInput/style.css +1 -0
- package/build/components/Button/index.cjs +1 -1
- package/build/components/Button/index.js +1 -1
- package/build/components/Button/style.css +1 -1
- package/build/components/Checkbox/index.cjs +1 -1
- package/build/components/Checkbox/index.cjs.map +1 -1
- package/build/components/Checkbox/index.js +6 -6
- package/build/components/Checkbox/index.js.map +1 -1
- package/build/components/CodeBadge/style.css +1 -1
- package/build/components/CopyField/style.css +1 -1
- package/build/components/DataTable/context.cjs +2 -0
- package/build/components/DataTable/context.cjs.map +1 -0
- package/build/components/DataTable/context.d.cts +17 -0
- package/build/components/DataTable/context.d.ts +17 -0
- package/build/components/DataTable/context.js +7 -0
- package/build/components/DataTable/context.js.map +1 -0
- package/build/components/DataTable/index.cjs +1 -1
- package/build/components/DataTable/index.cjs.map +1 -1
- package/build/components/DataTable/index.d.cts +46 -5
- package/build/components/DataTable/index.d.ts +46 -5
- package/build/components/DataTable/index.js +236 -93
- package/build/components/DataTable/index.js.map +1 -1
- package/build/components/DataTable/style.css +1 -1
- package/build/components/DataTableColumnMenu/index.cjs +2 -0
- package/build/components/DataTableColumnMenu/index.cjs.map +1 -0
- package/build/components/DataTableColumnMenu/index.d.cts +13 -0
- package/build/components/DataTableColumnMenu/index.d.ts +13 -0
- package/build/components/DataTableColumnMenu/index.js +69 -0
- package/build/components/DataTableColumnMenu/index.js.map +1 -0
- package/build/components/DataTableColumnMenu/style.css +1 -0
- package/build/components/Eyebrow/index.cjs.map +1 -1
- package/build/components/Eyebrow/index.d.cts +1 -1
- package/build/components/Eyebrow/index.d.ts +1 -1
- package/build/components/Eyebrow/index.js.map +1 -1
- package/build/components/Eyebrow/style.css +1 -1
- package/build/components/Gallery/index.cjs +2 -0
- package/build/components/Gallery/index.cjs.map +1 -0
- package/build/components/Gallery/index.d.cts +56 -0
- package/build/components/Gallery/index.d.ts +56 -0
- package/build/components/Gallery/index.js +253 -0
- package/build/components/Gallery/index.js.map +1 -0
- package/build/components/Gallery/style.css +1 -0
- package/build/components/Modal/style.css +1 -1
- package/build/components/NotificationCenter/index.cjs +2 -0
- package/build/components/NotificationCenter/index.cjs.map +1 -0
- package/build/components/NotificationCenter/index.d.cts +45 -0
- package/build/components/NotificationCenter/index.d.ts +45 -0
- package/build/components/NotificationCenter/index.js +124 -0
- package/build/components/NotificationCenter/index.js.map +1 -0
- package/build/components/NotificationCenter/style.css +1 -0
- package/build/components/Popover/index.cjs +1 -1
- package/build/components/Popover/index.cjs.map +1 -1
- package/build/components/Popover/index.js +16 -16
- package/build/components/Popover/index.js.map +1 -1
- package/build/components/Progress/index.cjs +1 -1
- package/build/components/Progress/index.cjs.map +1 -1
- package/build/components/Progress/index.d.cts +2 -2
- package/build/components/Progress/index.d.ts +2 -2
- package/build/components/Progress/index.js +1 -1
- package/build/components/Progress/index.js.map +1 -1
- package/build/components/Progress/style.css +1 -1
- package/build/components/Rating/style.css +1 -1
- package/build/components/RatingInput/style.css +1 -1
- package/build/components/Stat/style.css +1 -1
- package/build/components/StatStrip/index.cjs +1 -1
- package/build/components/StatStrip/index.cjs.map +1 -1
- package/build/components/StatStrip/index.d.cts +3 -3
- package/build/components/StatStrip/index.d.ts +3 -3
- package/build/components/StatStrip/index.js +1 -1
- package/build/components/StatStrip/index.js.map +1 -1
- package/build/components/StatStrip/style.css +1 -1
- package/build/components/StatusDot/index.cjs +1 -1
- package/build/components/StatusDot/index.cjs.map +1 -1
- package/build/components/StatusDot/index.d.cts +5 -3
- package/build/components/StatusDot/index.d.ts +5 -3
- package/build/components/StatusDot/index.js +1 -1
- package/build/components/StatusDot/index.js.map +1 -1
- package/build/components/StatusDot/style.css +1 -1
- package/build/components/TagInput/style.css +1 -1
- package/build/components/Textarea/style.css +1 -1
- package/build/components/Timeline/style.css +1 -1
- package/build/components/Toast/style.css +1 -1
- package/build/components/TreeSelect/index.cjs +2 -0
- package/build/components/TreeSelect/index.cjs.map +1 -0
- package/build/components/TreeSelect/index.d.cts +40 -0
- package/build/components/TreeSelect/index.d.ts +40 -0
- package/build/components/TreeSelect/index.js +175 -0
- package/build/components/TreeSelect/index.js.map +1 -0
- package/build/components/TreeSelect/style.css +1 -0
- package/build/design/index.cjs +84 -178
- package/build/design/index.cjs.map +1 -1
- package/build/design/index.d.cts +72 -63
- package/build/design/index.d.mts +72 -63
- package/build/design/index.mjs +84 -178
- package/build/design/index.mjs.map +1 -1
- package/build/design/index.umd.cjs +1 -1
- package/build/design/index.umd.cjs.map +1 -1
- package/build/design/tokens.css +62 -177
- package/build/design/tokens.json +66 -168
- package/build/design/tokens.scss +48 -178
- package/build/enums/ui-variant.enum.cjs +1 -1
- package/build/enums/ui-variant.enum.cjs.map +1 -1
- package/build/enums/ui-variant.enum.d.cts +2 -2
- package/build/enums/ui-variant.enum.d.ts +2 -2
- package/build/enums/ui-variant.enum.js +1 -1
- package/build/enums/ui-variant.enum.js.map +1 -1
- package/build/helpers/bulk-paste.helper.cjs +2 -0
- package/build/helpers/bulk-paste.helper.cjs.map +1 -0
- package/build/helpers/bulk-paste.helper.d.cts +38 -0
- package/build/helpers/bulk-paste.helper.d.ts +38 -0
- package/build/helpers/bulk-paste.helper.js +37 -0
- package/build/helpers/bulk-paste.helper.js.map +1 -0
- package/build/index.cjs +1 -1
- package/build/index.d.cts +8 -2
- package/build/index.d.ts +8 -2
- package/build/index.js +122 -110
- package/build/index.js.map +1 -1
- package/build/scss/_mixins.scss +8 -10
- package/build/scss/_variables.scss +19 -39
- package/build/styles.css +31 -21
- package/build/types/calendar/Calendar/index.d.cts +1 -1
- package/build/types/calendar/Calendar/index.d.ts +1 -1
- package/build/types/calendar/core/types.d.cts +3 -2
- package/build/types/calendar/core/types.d.ts +3 -2
- package/build/types/theme.type.d.cts +54 -0
- package/build/types/theme.type.d.ts +54 -0
- package/build/types/types/theme.type.d.cts +54 -0
- package/build/types/types/theme.type.d.ts +54 -0
- package/package.json +61 -11
- package/build/components/Band/index.cjs +0 -2
- package/build/components/Band/index.cjs.map +0 -1
- package/build/components/Band/index.d.cts +0 -45
- package/build/components/Band/index.d.ts +0 -45
- package/build/components/Band/index.js +0 -126
- package/build/components/Band/index.js.map +0 -1
- package/build/components/Band/style.css +0 -1
package/build/index.js
CHANGED
|
@@ -1,213 +1,225 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default as
|
|
1
|
+
import { default as a } from "./theme/UiProvider.js";
|
|
2
|
+
import { default as o } from "./theme/UiThemeScript.js";
|
|
3
3
|
import { useUi as l } from "./theme/context.js";
|
|
4
|
-
import { THEME_ATTRIBUTE as
|
|
4
|
+
import { THEME_ATTRIBUTE as p, THEME_BOOT_SCRIPT as d, THEME_BOOT_SCRIPT_HASH as s, THEME_STORAGE_KEY as m } from "@handijitcom/ui/design";
|
|
5
5
|
import { hasOpenSurface as i } from "./helpers/focus.helper.js";
|
|
6
6
|
import { default as T } from "./hooks/useAnnounce.js";
|
|
7
7
|
import { default as E } from "./hooks/useUiTheme.js";
|
|
8
8
|
import { default as B } from "./hooks/useUiTokens.js";
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
9
|
+
import { default as I } from "./hooks/useStickToBottom.js";
|
|
10
|
+
import { default as R } from "./hooks/useListboxNavigation.js";
|
|
11
11
|
import { default as _ } from "./hooks/usePositioning.js";
|
|
12
12
|
import { default as b } from "./hooks/useVirtualList.js";
|
|
13
|
-
import { default as
|
|
13
|
+
import { default as M } from "./enums/ui-variant.enum.js";
|
|
14
14
|
import { default as y } from "./enums/ui-size.enum.js";
|
|
15
|
-
import { ABOVE_MOBILE_MEDIA_QUERY as U, ABOVE_TABLET_MEDIA_QUERY as
|
|
16
|
-
import { matchesSearch as K, normalizeSearchTerm as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
15
|
+
import { ABOVE_MOBILE_MEDIA_QUERY as U, ABOVE_TABLET_MEDIA_QUERY as k, MOBILE_BREAKPOINT as H, SHEET_MEDIA_QUERY as F, TABLET_BREAKPOINT as w, TABLET_PORTRAIT_BREAKPOINT as L } from "./constants/breakpoint.constants.js";
|
|
16
|
+
import { matchesSearch as K, normalizeSearchTerm as N } from "./helpers/text.helper.js";
|
|
17
|
+
import { default as G } from "./components/Button/index.js";
|
|
18
|
+
import { default as Y } from "./components/IconButton/index.js";
|
|
19
19
|
import { default as J } from "./components/TextLink/index.js";
|
|
20
20
|
import { default as q } from "./components/Tooltip/index.js";
|
|
21
21
|
import { ContextMenu as X, default as Z } from "./components/Menu/index.js";
|
|
22
22
|
import { default as ee } from "./components/Popover/index.js";
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
23
|
+
import { default as ae } from "./components/Chip/index.js";
|
|
24
|
+
import { default as oe } from "./components/ChipGroup/index.js";
|
|
25
25
|
import { default as le } from "./components/Combobox/index.js";
|
|
26
|
-
import { default as
|
|
26
|
+
import { default as pe } from "./components/SegmentedControl/index.js";
|
|
27
27
|
import { default as se } from "./components/Select/index.js";
|
|
28
28
|
import { default as xe } from "./components/Checkbox/index.js";
|
|
29
29
|
import { default as ne } from "./components/Switch/index.js";
|
|
30
30
|
import { default as Se } from "./components/Radio/index.js";
|
|
31
31
|
import { default as ce } from "./components/RadioCard/index.js";
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
32
|
+
import { default as Ce } from "./components/RangeSlider/index.js";
|
|
33
|
+
import { default as Pe } from "./components/RatingInput/index.js";
|
|
34
34
|
import { default as Ae } from "./components/QuantityStepper/index.js";
|
|
35
35
|
import { default as De } from "./components/TableCheckbox/index.js";
|
|
36
36
|
import { default as ge } from "./components/Input/index.js";
|
|
37
|
-
import { default as
|
|
37
|
+
import { default as Oe } from "./components/PasswordInput/index.js";
|
|
38
38
|
import { default as he } from "./components/ScaledInput/index.js";
|
|
39
|
-
import { default as
|
|
39
|
+
import { default as ke } from "./components/MoneyInput/index.js";
|
|
40
40
|
import { default as Fe } from "./components/QuantityInput/index.js";
|
|
41
41
|
import { default as Le } from "./components/RateInput/index.js";
|
|
42
42
|
import { default as Ke } from "./components/PercentInput/index.js";
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
43
|
+
import { default as Qe } from "./components/TagInput/index.js";
|
|
44
|
+
import { default as Ve } from "./components/Textarea/index.js";
|
|
45
45
|
import { default as ze, DateRange as Je } from "./components/DateField/index.js";
|
|
46
46
|
import { default as qe } from "./components/Field/index.js";
|
|
47
47
|
import { default as Xe } from "./components/FileUpload/index.js";
|
|
48
48
|
import { default as $e } from "./components/Alert/index.js";
|
|
49
49
|
import { default as tt } from "./components/Avatar/index.js";
|
|
50
|
-
import { default as
|
|
50
|
+
import { default as rt } from "./components/Badge/index.js";
|
|
51
51
|
import { default as ft } from "./components/Breadcrumb/index.js";
|
|
52
|
-
import { default as ut, CardBody as
|
|
52
|
+
import { default as ut, CardBody as pt, CardFooter as dt, CardMedia as st, CardOverlay as mt } from "./components/Card/index.js";
|
|
53
53
|
import { default as it } from "./components/Carousel/index.js";
|
|
54
54
|
import { default as Tt } from "./components/CodeBadge/index.js";
|
|
55
55
|
import { default as Et } from "./components/Kbd/index.js";
|
|
56
56
|
import { default as Bt } from "./components/StatusDot/index.js";
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
57
|
+
import { default as It } from "./components/CopyField/index.js";
|
|
58
|
+
import { default as Rt } from "./components/Divider/index.js";
|
|
59
59
|
import { default as _t, DirectoryGroup as Dt, DirectoryJump as bt, DirectoryRow as gt } from "./components/Directory/index.js";
|
|
60
|
-
import { default as
|
|
60
|
+
import { default as Ot } from "./components/EmptyState/index.js";
|
|
61
61
|
import { default as ht } from "./components/PageHeader/index.js";
|
|
62
|
-
import { default as
|
|
62
|
+
import { default as kt, PanelForm as Ht, PanelRow as Ft } from "./components/Panel/index.js";
|
|
63
63
|
import { default as Lt } from "./components/Price/index.js";
|
|
64
64
|
import { default as Kt } from "./components/Rating/index.js";
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
65
|
+
import { default as Qt } from "./components/SectionHeader/index.js";
|
|
66
|
+
import { default as Vt } from "./components/ScrollArea/index.js";
|
|
67
67
|
import { default as zt, SkeletonCard as Jt, SkeletonRows as jt, SkeletonTable as qt } from "./components/Skeleton/index.js";
|
|
68
68
|
import { default as Xt } from "./components/Stat/index.js";
|
|
69
69
|
import { default as $t } from "./components/SummaryCard/index.js";
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import {
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
70
|
+
import { default as ta, ProgressCircle as aa } from "./components/Progress/index.js";
|
|
71
|
+
import { default as oa } from "./components/Spinner/index.js";
|
|
72
|
+
import { default as la, toast as ua } from "./components/Toast/index.js";
|
|
73
|
+
import { default as da } from "./components/ToastPortal/index.js";
|
|
74
|
+
import { default as ma } from "./components/Accordion/index.js";
|
|
75
|
+
import { default as ia } from "./components/Disclosure/index.js";
|
|
76
|
+
import { default as Ta } from "./components/Steps/index.js";
|
|
77
|
+
import { default as Ea } from "./components/Tabs/index.js";
|
|
78
|
+
import { default as Ba } from "./components/Tile/index.js";
|
|
79
|
+
import { default as Ia } from "./components/Timeline/index.js";
|
|
80
|
+
import { BrandBlueprint as Ra, default as Aa } from "./components/BrandSurface/index.js";
|
|
81
|
+
import { default as Da } from "./components/Eyebrow/index.js";
|
|
82
|
+
import { default as ga } from "./components/StatStrip/index.js";
|
|
83
|
+
import { default as Oa } from "./components/BottomSheet/index.js";
|
|
84
|
+
import { default as ha } from "./components/Modal/index.js";
|
|
85
|
+
import { default as ka } from "./components/CommandPalette/index.js";
|
|
86
|
+
import { default as Fa } from "./components/ConfirmDialog/index.js";
|
|
87
|
+
import { default as La } from "./components/Drawer/index.js";
|
|
88
|
+
import { default as Ka } from "./components/PromptDialog/index.js";
|
|
89
|
+
import { default as Qa, TableScroller as Ga } from "./components/Table/index.js";
|
|
90
|
+
import { default as Ya, DataTableRow as za } from "./components/DataTable/index.js";
|
|
91
|
+
import { default as ja } from "./components/DataTableColumnMenu/index.js";
|
|
92
|
+
import { default as Wa } from "./components/Gallery/index.js";
|
|
93
|
+
import { default as Za } from "./components/TreeSelect/index.js";
|
|
94
|
+
import { default as er } from "./components/NotificationCenter/index.js";
|
|
95
|
+
import { default as ar } from "./components/BulkPasteInput/index.js";
|
|
96
|
+
import { parseBulkPaste as or } from "./helpers/bulk-paste.helper.js";
|
|
97
|
+
import { default as lr, FilterBarField as ur } from "./components/FilterBar/index.js";
|
|
98
|
+
import { default as dr } from "./components/Pagination/index.js";
|
|
93
99
|
export {
|
|
94
100
|
U as ABOVE_MOBILE_MEDIA_QUERY,
|
|
95
|
-
|
|
96
|
-
|
|
101
|
+
k as ABOVE_TABLET_MEDIA_QUERY,
|
|
102
|
+
ma as Accordion,
|
|
97
103
|
$e as Alert,
|
|
98
104
|
tt as Avatar,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
105
|
+
rt as Badge,
|
|
106
|
+
Oa as BottomSheet,
|
|
107
|
+
Ra as BrandBlueprint,
|
|
108
|
+
Aa as BrandSurface,
|
|
103
109
|
ft as Breadcrumb,
|
|
104
|
-
|
|
110
|
+
ar as BulkPasteInput,
|
|
111
|
+
G as Button,
|
|
105
112
|
ut as Card,
|
|
106
|
-
|
|
107
|
-
|
|
113
|
+
pt as CardBody,
|
|
114
|
+
dt as CardFooter,
|
|
108
115
|
st as CardMedia,
|
|
109
116
|
mt as CardOverlay,
|
|
110
117
|
it as Carousel,
|
|
111
118
|
xe as Checkbox,
|
|
112
|
-
|
|
113
|
-
|
|
119
|
+
ae as Chip,
|
|
120
|
+
oe as ChipGroup,
|
|
114
121
|
Tt as CodeBadge,
|
|
115
122
|
le as Combobox,
|
|
116
|
-
|
|
117
|
-
|
|
123
|
+
ka as CommandPalette,
|
|
124
|
+
Fa as ConfirmDialog,
|
|
118
125
|
X as ContextMenu,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
126
|
+
It as CopyField,
|
|
127
|
+
Ya as DataTable,
|
|
128
|
+
ja as DataTableColumnMenu,
|
|
129
|
+
za as DataTableRow,
|
|
122
130
|
ze as DateField,
|
|
123
131
|
Je as DateRange,
|
|
124
132
|
_t as Directory,
|
|
125
133
|
Dt as DirectoryGroup,
|
|
126
134
|
bt as DirectoryJump,
|
|
127
135
|
gt as DirectoryRow,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
136
|
+
ia as Disclosure,
|
|
137
|
+
Rt as Divider,
|
|
138
|
+
La as Drawer,
|
|
139
|
+
Ot as EmptyState,
|
|
140
|
+
Da as Eyebrow,
|
|
133
141
|
qe as Field,
|
|
134
142
|
Xe as FileUpload,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
143
|
+
lr as FilterBar,
|
|
144
|
+
ur as FilterBarField,
|
|
145
|
+
Wa as Gallery,
|
|
146
|
+
Y as IconButton,
|
|
138
147
|
ge as Input,
|
|
139
148
|
Et as Kbd,
|
|
140
|
-
|
|
149
|
+
H as MOBILE_BREAKPOINT,
|
|
141
150
|
Z as Menu,
|
|
142
|
-
|
|
143
|
-
|
|
151
|
+
ha as Modal,
|
|
152
|
+
ke as MoneyInput,
|
|
153
|
+
er as NotificationCenter,
|
|
144
154
|
ht as PageHeader,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
155
|
+
dr as Pagination,
|
|
156
|
+
kt as Panel,
|
|
157
|
+
Ht as PanelForm,
|
|
148
158
|
Ft as PanelRow,
|
|
149
|
-
|
|
159
|
+
Oe as PasswordInput,
|
|
150
160
|
Ke as PercentInput,
|
|
151
161
|
ee as Popover,
|
|
152
162
|
Lt as Price,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
163
|
+
ta as Progress,
|
|
164
|
+
aa as ProgressCircle,
|
|
165
|
+
Ka as PromptDialog,
|
|
156
166
|
Fe as QuantityInput,
|
|
157
167
|
Ae as QuantityStepper,
|
|
158
168
|
Se as Radio,
|
|
159
169
|
ce as RadioCard,
|
|
160
|
-
|
|
170
|
+
Ce as RangeSlider,
|
|
161
171
|
Le as RateInput,
|
|
162
172
|
Kt as Rating,
|
|
163
|
-
|
|
173
|
+
Pe as RatingInput,
|
|
164
174
|
F as SHEET_MEDIA_QUERY,
|
|
165
175
|
he as ScaledInput,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
176
|
+
Vt as ScrollArea,
|
|
177
|
+
Qt as SectionHeader,
|
|
178
|
+
pe as SegmentedControl,
|
|
169
179
|
se as Select,
|
|
170
180
|
zt as Skeleton,
|
|
171
181
|
Jt as SkeletonCard,
|
|
172
182
|
jt as SkeletonRows,
|
|
173
183
|
qt as SkeletonTable,
|
|
174
|
-
|
|
184
|
+
oa as Spinner,
|
|
175
185
|
Xt as Stat,
|
|
176
|
-
|
|
186
|
+
ga as StatStrip,
|
|
177
187
|
Bt as StatusDot,
|
|
178
|
-
|
|
188
|
+
Ta as Steps,
|
|
179
189
|
$t as SummaryCard,
|
|
180
190
|
ne as Switch,
|
|
181
191
|
w as TABLET_BREAKPOINT,
|
|
182
192
|
L as TABLET_PORTRAIT_BREAKPOINT,
|
|
183
|
-
|
|
184
|
-
|
|
193
|
+
p as THEME_ATTRIBUTE,
|
|
194
|
+
d as THEME_BOOT_SCRIPT,
|
|
185
195
|
s as THEME_BOOT_SCRIPT_HASH,
|
|
186
196
|
m as THEME_STORAGE_KEY,
|
|
187
|
-
|
|
197
|
+
Qa as Table,
|
|
188
198
|
De as TableCheckbox,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
199
|
+
Ga as TableScroller,
|
|
200
|
+
Ea as Tabs,
|
|
201
|
+
Qe as TagInput,
|
|
192
202
|
J as TextLink,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
203
|
+
Ve as Textarea,
|
|
204
|
+
Ba as Tile,
|
|
205
|
+
Ia as Timeline,
|
|
206
|
+
la as ToastHub,
|
|
207
|
+
da as ToastPortal,
|
|
198
208
|
q as Tooltip,
|
|
209
|
+
Za as TreeSelect,
|
|
199
210
|
y as UISize,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
211
|
+
M as UIVariant,
|
|
212
|
+
a as UiProvider,
|
|
213
|
+
o as UiThemeScript,
|
|
203
214
|
i as hasOpenSurface,
|
|
204
215
|
K as matchesSearch,
|
|
205
|
-
|
|
206
|
-
|
|
216
|
+
N as normalizeSearchTerm,
|
|
217
|
+
or as parseBulkPaste,
|
|
218
|
+
ua as toast,
|
|
207
219
|
T as useAnnounce,
|
|
208
|
-
|
|
220
|
+
R as useListboxNavigation,
|
|
209
221
|
_ as usePositioning,
|
|
210
|
-
|
|
222
|
+
I as useStickToBottom,
|
|
211
223
|
l as useUi,
|
|
212
224
|
E as useUiTheme,
|
|
213
225
|
B as useUiTokens,
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/scss/_mixins.scss
CHANGED
|
@@ -335,16 +335,10 @@ $header-offset: var(--ui-header-height, 0px);
|
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
+
// A state label. The palette has one status hue, red: `info` is cobalt, `ink` is the emphatic
|
|
339
|
+
// neutral (a warning: ink and an icon), `neutral` the quiet one. A success is `info` with its icon.
|
|
338
340
|
@mixin tint($tone: neutral) {
|
|
339
|
-
@if $tone ==
|
|
340
|
-
background-color: $success-bg;
|
|
341
|
-
border: 1px solid $success-line;
|
|
342
|
-
color: $success-fg;
|
|
343
|
-
} @else if $tone == warning {
|
|
344
|
-
background-color: $warning-bg;
|
|
345
|
-
border: 1px solid $warning-line;
|
|
346
|
-
color: $warning-fg;
|
|
347
|
-
} @else if $tone == danger {
|
|
341
|
+
@if $tone == danger {
|
|
348
342
|
background-color: $danger-bg;
|
|
349
343
|
border: 1px solid $danger-line;
|
|
350
344
|
color: $danger-fg;
|
|
@@ -352,12 +346,16 @@ $header-offset: var(--ui-header-height, 0px);
|
|
|
352
346
|
background-color: $info-bg;
|
|
353
347
|
border: 1px solid $info-line;
|
|
354
348
|
color: $info-fg;
|
|
349
|
+
} @else if $tone == ink {
|
|
350
|
+
background-color: $bg-raised;
|
|
351
|
+
border: 1px solid $border-strong;
|
|
352
|
+
color: $text;
|
|
355
353
|
} @else if $tone == neutral {
|
|
356
354
|
background-color: $bg-raised;
|
|
357
355
|
border: 1px solid $border;
|
|
358
356
|
color: $text-2;
|
|
359
357
|
} @else {
|
|
360
|
-
@error 'tint(): unknown tone `#{$tone}`. Valid:
|
|
358
|
+
@error 'tint(): unknown tone `#{$tone}`. Valid: danger, info, ink, neutral.';
|
|
361
359
|
}
|
|
362
360
|
}
|
|
363
361
|
|
|
@@ -33,7 +33,7 @@ $primary-soft: var(--hd-primary-soft);
|
|
|
33
33
|
$primary-soft-hover: var(--hd-primary-soft-hover);
|
|
34
34
|
$primary-line: var(--hd-primary-line);
|
|
35
35
|
$primary-text: var(--hd-primary-text);
|
|
36
|
-
// `--ui-ring-color` is set by a surface that needs its own ring (`
|
|
36
|
+
// `--ui-ring-color` is set by a surface that needs its own ring (`BrandSurface`: `on-primary`); every
|
|
37
37
|
// descendant's ring follows it.
|
|
38
38
|
$focus: var(--ui-ring-color, var(--hd-focus));
|
|
39
39
|
// The ring of a control that sits IN a well (`bg-inset`): `focus` is 2.95:1 there in the light theme.
|
|
@@ -49,16 +49,6 @@ $accent-soft: var(--hd-accent-soft);
|
|
|
49
49
|
$accent-text: var(--hd-accent-text);
|
|
50
50
|
|
|
51
51
|
// --- Status ---
|
|
52
|
-
$success-bg: var(--hd-success-bg);
|
|
53
|
-
$success-fg: var(--hd-success-fg);
|
|
54
|
-
$success-line: var(--hd-success-line);
|
|
55
|
-
$success-solid: var(--hd-success-solid);
|
|
56
|
-
$success-on-solid: var(--hd-success-on-solid);
|
|
57
|
-
$warning-bg: var(--hd-warning-bg);
|
|
58
|
-
$warning-fg: var(--hd-warning-fg);
|
|
59
|
-
$warning-line: var(--hd-warning-line);
|
|
60
|
-
$warning-solid: var(--hd-warning-solid);
|
|
61
|
-
$warning-on-solid: var(--hd-warning-on-solid);
|
|
62
52
|
$danger-bg: var(--hd-danger-bg);
|
|
63
53
|
$danger-fg: var(--hd-danger-fg);
|
|
64
54
|
$danger-line: var(--hd-danger-line);
|
|
@@ -78,36 +68,26 @@ $chart-4: var(--hd-chart-4);
|
|
|
78
68
|
$chart-5: var(--hd-chart-5);
|
|
79
69
|
$chart-6: var(--hd-chart-6);
|
|
80
70
|
|
|
81
|
-
// --- Brand
|
|
82
|
-
|
|
83
|
-
$
|
|
84
|
-
|
|
85
|
-
$
|
|
86
|
-
|
|
87
|
-
$
|
|
88
|
-
$
|
|
89
|
-
|
|
90
|
-
$
|
|
91
|
-
// The
|
|
92
|
-
$
|
|
93
|
-
$band-gradient-to: var(--hd-band-gradient-to);
|
|
94
|
-
$band-glow: var(--hd-band-glow);
|
|
95
|
-
$band-glow-alpha: var(--hd-band-glow-alpha);
|
|
96
|
-
$band-dot: var(--hd-band-dot);
|
|
97
|
-
$band-dot-alpha: var(--hd-band-dot-alpha);
|
|
98
|
-
$band-blueprint-from: var(--hd-band-blueprint-from);
|
|
99
|
-
$band-blueprint-to: var(--hd-band-blueprint-to);
|
|
100
|
-
$band-blueprint-stroke: var(--hd-band-blueprint-stroke);
|
|
101
|
-
// The soft coral glow of the conversion button, only on the band.
|
|
102
|
-
$band-accent-glow: var(--hd-band-accent-glow);
|
|
71
|
+
// --- Brand surface: cobalt `primary` with white on it, the same in both themes ---
|
|
72
|
+
// Its one deeper step (the gradient's foot, the strip of facts), from the cobalt scale.
|
|
73
|
+
$brand-surface-deep: var(--hd-brand-surface-deep);
|
|
74
|
+
// White at low opacity: hairlines, dividers and the rules of an eyebrow on the surface.
|
|
75
|
+
$brand-surface-line: var(--hd-brand-surface-line);
|
|
76
|
+
// The surface's imagery (glow, dot grid, blueprint), drawn as SVG by `BrandSurface`.
|
|
77
|
+
$brand-surface-glow-alpha: var(--hd-brand-surface-glow-alpha);
|
|
78
|
+
$brand-surface-dot-alpha: var(--hd-brand-surface-dot-alpha);
|
|
79
|
+
$brand-surface-blueprint-fill-alpha: var(--hd-brand-surface-blueprint-fill-alpha);
|
|
80
|
+
$brand-surface-blueprint-stroke-alpha: var(--hd-brand-surface-blueprint-stroke-alpha);
|
|
81
|
+
// The soft coral glow of the conversion button, only on the brand surface.
|
|
82
|
+
$brand-surface-accent-glow: var(--hd-brand-surface-accent-glow);
|
|
103
83
|
|
|
104
84
|
// --- Inverse surface: dark in both themes (tooltip, terminal output, code badge) ---
|
|
105
|
-
// Static
|
|
106
|
-
$inverse-bg: var(--hd-
|
|
107
|
-
$inverse-bg-2: var(--hd-
|
|
108
|
-
$inverse-line: var(--hd-
|
|
109
|
-
$inverse-text: var(--hd-
|
|
110
|
-
$inverse-text-2: var(--hd-
|
|
85
|
+
// Static ink steps, so the block does not flip with the theme the way a `bg-*` role does.
|
|
86
|
+
$inverse-bg: var(--hd-ink-900);
|
|
87
|
+
$inverse-bg-2: var(--hd-ink-800);
|
|
88
|
+
$inverse-line: var(--hd-ink-700);
|
|
89
|
+
$inverse-text: var(--hd-ink-50);
|
|
90
|
+
$inverse-text-2: var(--hd-ink-300);
|
|
111
91
|
$inverse-danger: var(--hd-danger-300);
|
|
112
92
|
|
|
113
93
|
// --- Elevation ---
|