@dmsi/wedgekit-react 0.0.552 → 0.0.554
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/dist/{chunk-7COWXCPA.js → chunk-45SH6WHE.js} +3 -3
- package/dist/{chunk-KJ5OQPPV.js → chunk-63WMDTVQ.js} +1 -1
- package/dist/{chunk-FJFZBIRG.js → chunk-7ZCXZDJD.js} +3 -3
- package/dist/{chunk-FWCVZWE6.js → chunk-7ZL4GBAD.js} +3 -3
- package/dist/{chunk-5BRIDIUA.js → chunk-AGHBLWDZ.js} +3 -3
- package/dist/{chunk-QYKOR7LE.js → chunk-CQLRGYHM.js} +3 -3
- package/dist/{chunk-XRE52QTN.js → chunk-D5V3PUQQ.js} +6 -6
- package/dist/{chunk-Y3EFHKAG.js → chunk-DWICBU2V.js} +1 -1
- package/dist/{chunk-CMMQTIVM.js → chunk-EJOPJIRO.js} +3 -3
- package/dist/{chunk-K4SIZGMK.js → chunk-EQ2RAI53.js} +1 -1
- package/dist/{chunk-SBGGDIE3.js → chunk-FIVKYEC3.js} +7 -7
- package/dist/{chunk-QMMPHXVE.js → chunk-GVIXW2QS.js} +3 -3
- package/dist/{chunk-ZIPJMN2E.js → chunk-GYQA4UIK.js} +6 -6
- package/dist/{chunk-45AHDOAU.js → chunk-HVYK7COK.js} +9 -3
- package/dist/{chunk-AKJUBFJK.js → chunk-KV7LAH3T.js} +3 -3
- package/dist/{chunk-AX4M7X4Z.js → chunk-MTGNBARV.js} +5 -2
- package/dist/{chunk-MHXYGKWA.js → chunk-Q3G6Z5DM.js} +1 -1
- package/dist/{chunk-4DXOA7NZ.js → chunk-RZ5EIDX4.js} +1 -1
- package/dist/{chunk-PJL5XESN.js → chunk-TL4M56HJ.js} +1 -1
- package/dist/{chunk-WNGFRQ4Y.js → chunk-TXPN24PW.js} +13 -13
- package/dist/{chunk-Z2QAJY5I.js → chunk-UAMI54FE.js} +1 -1
- package/dist/chunk-XJF4S3RB.js +82 -0
- package/dist/chunk-XR733AKC.js +82 -0
- package/dist/{chunk-7SFFUICM.js → chunk-YLC7OHW2.js} +6 -6
- package/dist/chunk-ZCJWOHFN.js +139 -0
- package/dist/{chunk-JADOJNBI.js → chunk-ZDXJXDZT.js} +4 -4
- package/dist/components/AccessCard.cjs +661 -0
- package/dist/components/AccessCard.js +13 -0
- package/dist/components/AccessCardGroup.cjs +365 -0
- package/dist/components/AccessCardGroup.js +11 -0
- package/dist/components/Accordion.cjs +5 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Alert.cjs +64 -28
- package/dist/components/Alert.js +4 -3
- package/dist/components/Button.cjs +38 -5
- package/dist/components/Button.js +2 -1
- package/dist/components/CalendarRange.cjs +298 -128
- package/dist/components/CalendarRange.css +44 -0
- package/dist/components/CalendarRange.js +28 -24
- package/dist/components/CompactImagesPreview.cjs +5 -2
- package/dist/components/CompactImagesPreview.js +2 -2
- package/dist/components/ContentTab.cjs +42 -9
- package/dist/components/ContentTab.js +3 -2
- package/dist/components/ContentTabs.cjs +47 -14
- package/dist/components/ContentTabs.js +3 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +281 -111
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +44 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +28 -24
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +291 -121
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +44 -0
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +28 -24
- package/dist/components/DataGrid/PinnedColumns.cjs +306 -136
- package/dist/components/DataGrid/PinnedColumns.css +44 -0
- package/dist/components/DataGrid/PinnedColumns.js +28 -24
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +282 -112
- package/dist/components/DataGrid/TableBody/LoadingCell.css +44 -0
- package/dist/components/DataGrid/TableBody/LoadingCell.js +28 -24
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +288 -118
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +44 -0
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +28 -24
- package/dist/components/DataGrid/TableBody/index.cjs +303 -133
- package/dist/components/DataGrid/TableBody/index.css +44 -0
- package/dist/components/DataGrid/TableBody/index.js +28 -24
- package/dist/components/DataGrid/index.cjs +392 -222
- package/dist/components/DataGrid/index.css +44 -0
- package/dist/components/DataGrid/index.js +28 -24
- package/dist/components/DataGrid/utils.cjs +282 -112
- package/dist/components/DataGrid/utils.css +44 -0
- package/dist/components/DataGrid/utils.js +28 -24
- package/dist/components/DataGridCell.js +3 -3
- package/dist/components/DateInput.cjs +311 -141
- package/dist/components/DateInput.css +44 -0
- package/dist/components/DateInput.js +28 -24
- package/dist/components/DateRangeInput.cjs +317 -147
- package/dist/components/DateRangeInput.css +44 -0
- package/dist/components/DateRangeInput.js +28 -24
- package/dist/components/FilterGroup.cjs +87 -52
- package/dist/components/FilterGroup.js +6 -5
- package/dist/components/InputGroup.cjs +1 -1
- package/dist/components/InputGroup.js +1 -1
- package/dist/components/ListGroup.cjs +5 -2
- package/dist/components/ListGroup.js +2 -2
- package/dist/components/MenuOption.js +2 -2
- package/dist/components/MobileDataGrid/ColumnList.cjs +5 -2
- package/dist/components/MobileDataGrid/ColumnList.js +3 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +288 -118
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +44 -0
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +28 -24
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +5 -2
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +293 -120
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +44 -0
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +28 -24
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +5 -2
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +2 -2
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +94 -58
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +8 -7
- package/dist/components/MobileDataGrid/index.cjs +372 -199
- package/dist/components/MobileDataGrid/index.css +44 -0
- package/dist/components/MobileDataGrid/index.js +28 -24
- package/dist/components/Modal.cjs +64 -29
- package/dist/components/Modal.js +5 -4
- package/dist/components/ModalButtons.cjs +47 -14
- package/dist/components/ModalButtons.js +3 -2
- package/dist/components/ModalHeader.cjs +47 -12
- package/dist/components/ModalHeader.js +3 -2
- package/dist/components/NavigationTab.cjs +43 -10
- package/dist/components/NavigationTab.js +3 -2
- package/dist/components/NavigationTabs.cjs +48 -15
- package/dist/components/NavigationTabs.js +3 -2
- package/dist/components/NestedMenu.cjs +48 -13
- package/dist/components/NestedMenu.js +6 -5
- package/dist/components/Notification.cjs +68 -32
- package/dist/components/Notification.js +7 -6
- package/dist/components/OptionPill.cjs +48 -13
- package/dist/components/OptionPill.js +3 -2
- package/dist/components/PDFViewer/DownloadIcon.cjs +46 -13
- package/dist/components/PDFViewer/DownloadIcon.js +3 -2
- package/dist/components/PDFViewer/PDFElement.cjs +5 -2
- package/dist/components/PDFViewer/PDFElement.js +2 -2
- package/dist/components/PDFViewer/PDFNavigation.cjs +64 -28
- package/dist/components/PDFViewer/PDFNavigation.js +4 -3
- package/dist/components/PDFViewer/index.cjs +69 -61
- package/dist/components/PDFViewer/index.js +11 -11
- package/dist/components/ProductImagePreview/index.cjs +5 -2
- package/dist/components/ProductImagePreview/index.js +5 -5
- package/dist/components/Radio.js +5 -134
- package/dist/components/SideMenuGroup.cjs +5 -2
- package/dist/components/SideMenuGroup.js +1 -1
- package/dist/components/SideMenuItem.cjs +5 -2
- package/dist/components/SideMenuItem.js +3 -3
- package/dist/components/SimpleTable.cjs +5 -2
- package/dist/components/SimpleTable.js +2 -2
- package/dist/components/Stack.cjs +5 -2
- package/dist/components/Stack.js +1 -1
- package/dist/components/Stepper.cjs +73 -40
- package/dist/components/Stepper.js +4 -3
- package/dist/components/Swatch.cjs +5 -2
- package/dist/components/Swatch.js +3 -3
- package/dist/components/Time.cjs +5 -2
- package/dist/components/Time.js +2 -2
- package/dist/components/Toast.cjs +51 -16
- package/dist/components/Toast.js +4 -3
- package/dist/components/Upload.cjs +46 -38
- package/dist/components/Upload.js +6 -6
- package/dist/components/index.cjs +537 -231
- package/dist/components/index.css +44 -0
- package/dist/components/index.js +40 -30
- package/dist/index.css +44 -0
- package/package.json +1 -1
- package/dist/{chunk-EZ4KZYKG.js → chunk-YWQEMS2C.js} +3 -3
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __defProps = Object.defineProperties;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
9
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
10
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
+
var __spreadValues = (a, b) => {
|
|
14
|
+
for (var prop in b || (b = {}))
|
|
15
|
+
if (__hasOwnProp.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
if (__getOwnPropSymbols)
|
|
18
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
+
if (__propIsEnum.call(b, prop))
|
|
20
|
+
__defNormalProp(a, prop, b[prop]);
|
|
21
|
+
}
|
|
22
|
+
return a;
|
|
23
|
+
};
|
|
24
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
+
var __objRest = (source, exclude) => {
|
|
26
|
+
var target = {};
|
|
27
|
+
for (var prop in source)
|
|
28
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
if (source != null && __getOwnPropSymbols)
|
|
31
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
+
target[prop] = source[prop];
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
40
|
+
};
|
|
41
|
+
var __copyProps = (to, from, except, desc) => {
|
|
42
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
43
|
+
for (let key of __getOwnPropNames(from))
|
|
44
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
45
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
46
|
+
}
|
|
47
|
+
return to;
|
|
48
|
+
};
|
|
49
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
50
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
51
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
52
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
53
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
54
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
55
|
+
mod
|
|
56
|
+
));
|
|
57
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
|
+
|
|
59
|
+
// src/components/AccessCard.tsx
|
|
60
|
+
var AccessCard_exports = {};
|
|
61
|
+
__export(AccessCard_exports, {
|
|
62
|
+
AccessCard: () => AccessCard
|
|
63
|
+
});
|
|
64
|
+
module.exports = __toCommonJS(AccessCard_exports);
|
|
65
|
+
var import_clsx7 = __toESM(require("clsx"), 1);
|
|
66
|
+
|
|
67
|
+
// src/components/Subheader.tsx
|
|
68
|
+
var import_clsx2 = __toESM(require("clsx"), 1);
|
|
69
|
+
|
|
70
|
+
// src/classNames.ts
|
|
71
|
+
var import_clsx = __toESM(require("clsx"), 1);
|
|
72
|
+
var typography = {
|
|
73
|
+
display1: (0, import_clsx.default)(
|
|
74
|
+
"font-sans font-semibold",
|
|
75
|
+
"text-display-1-mobile desktop:text-display-1-desktop compact:text-display-1-desktop-compact",
|
|
76
|
+
"leading-display-1-mobile desktop:leading-display-1-desktop"
|
|
77
|
+
),
|
|
78
|
+
display2: (0, import_clsx.default)(
|
|
79
|
+
"font-sans font-bold",
|
|
80
|
+
"text-display-2-mobile desktop:text-display-2-desktop compact:text-display-2-desktop-compact",
|
|
81
|
+
"leading-display-2-mobile desktop:leading-display-2-desktop"
|
|
82
|
+
),
|
|
83
|
+
heading1: (0, import_clsx.default)(
|
|
84
|
+
"font-sans font-semibold",
|
|
85
|
+
"text-heading-1-mobile desktop:text-heading-1-desktop compact:text-heading-1-desktop-compact",
|
|
86
|
+
"leading-heading-1-mobile desktop:leading-heading-1-desktop"
|
|
87
|
+
),
|
|
88
|
+
heading2: (0, import_clsx.default)(
|
|
89
|
+
"font-sans font-normal",
|
|
90
|
+
"text-heading-2-mobile desktop:text-heading-2-desktop compact:text-heading-2-desktop-compact",
|
|
91
|
+
"leading-heading-2-mobile desktop:leading-heading-2-desktop"
|
|
92
|
+
),
|
|
93
|
+
heading3: (0, import_clsx.default)(
|
|
94
|
+
"font-sans font-semibold",
|
|
95
|
+
"text-heading-3-mobile desktop:text-heading-3-desktop compact:text-heading-3-desktop-compact",
|
|
96
|
+
"leading-heading-3-mobile desktop:leading-heading-3-desktop"
|
|
97
|
+
),
|
|
98
|
+
subheader: (0, import_clsx.default)(
|
|
99
|
+
"font-sans font-semibold",
|
|
100
|
+
"text-subheader-mobile desktop:text-subheader-desktop compact:text-subheader-desktop-compact",
|
|
101
|
+
"leading-subheader-mobile desktop:leading-subheader-desktop"
|
|
102
|
+
),
|
|
103
|
+
link: (0, import_clsx.default)(
|
|
104
|
+
"font-sans font-normal",
|
|
105
|
+
"text-link-mobile desktop:text-link-desktop compact:text-link-desktop-compact",
|
|
106
|
+
"leading-link-mobile desktop:leading-link-desktop"
|
|
107
|
+
),
|
|
108
|
+
buttonLabel: (0, import_clsx.default)(
|
|
109
|
+
"font-sans font-semibold",
|
|
110
|
+
"text-label-mobile desktop:text-label-desktop compact:text-label-desktop-compact",
|
|
111
|
+
"leading-label-mobile desktop:leading-label-desktop"
|
|
112
|
+
),
|
|
113
|
+
label: (0, import_clsx.default)(
|
|
114
|
+
"font-sans font-semibold",
|
|
115
|
+
"text-label-mobile desktop:text-label-desktop compact:text-label-desktop-compact",
|
|
116
|
+
"leading-label-mobile desktop:leading-label-desktop"
|
|
117
|
+
),
|
|
118
|
+
paragraph: (0, import_clsx.default)(
|
|
119
|
+
"font-sans font-normal",
|
|
120
|
+
"text-paragraph-mobile desktop:text-paragraph-desktop compact:text-paragraph-desktop-compact",
|
|
121
|
+
"leading-paragraph-mobile desktop:leading-paragraph-desktop"
|
|
122
|
+
),
|
|
123
|
+
caption: (0, import_clsx.default)(
|
|
124
|
+
"font-sans font-normal",
|
|
125
|
+
"text-caption-mobile desktop:text-caption-desktop compact:text-caption-desktop-compact",
|
|
126
|
+
"leading-caption-mobile desktop:leading-caption-desktop"
|
|
127
|
+
),
|
|
128
|
+
breadcrumb: (0, import_clsx.default)(
|
|
129
|
+
"font-sans font-normal",
|
|
130
|
+
"text-paragraph-mobile desktop:text-paragraph-desktop compact:text-paragraph-desktop-compact",
|
|
131
|
+
"leading-mobile-breadcrumb desktop:leading-desktop-breadcrumb"
|
|
132
|
+
)
|
|
133
|
+
};
|
|
134
|
+
var baseTransition = (0, import_clsx.default)(
|
|
135
|
+
"transition-colors duration-100 ease-in-out"
|
|
136
|
+
);
|
|
137
|
+
var componentGap = (0, import_clsx.default)(
|
|
138
|
+
"gap-mobile-component-gap desktop:gap-desktop-component-gap compact:gap-desktop-compact-component-gap"
|
|
139
|
+
);
|
|
140
|
+
var paddingUsingComponentGap = (0, import_clsx.default)(
|
|
141
|
+
"p-mobile-component-gap desktop:p-desktop-component-gap compact:p-desktop-compact-component-gap"
|
|
142
|
+
);
|
|
143
|
+
var paddingXUsingLayoutGroupGap = (0, import_clsx.default)(
|
|
144
|
+
"px-mobile-layout-group-gap desktop:px-desktop-layout-group-gap compact:px-desktop-compact-layout-group-gap"
|
|
145
|
+
);
|
|
146
|
+
var paddingYUsingLayoutGroupGap = (0, import_clsx.default)(
|
|
147
|
+
"py-mobile-layout-group-gap desktop:py-desktop-layout-group-gap compact:py-desktop-compact-layout-group-gap"
|
|
148
|
+
);
|
|
149
|
+
var componentPadding = (0, import_clsx.default)(
|
|
150
|
+
"p-mobile-component-padding desktop:p-desktop-component-padding compact:p-desktop-compact-component-padding"
|
|
151
|
+
);
|
|
152
|
+
var componentPaddingBottom = (0, import_clsx.default)(
|
|
153
|
+
"pb-mobile-component-padding desktop:pb-desktop-component-padding compact:pb-desktop-compact-component-padding"
|
|
154
|
+
);
|
|
155
|
+
var componentPaddingX = (0, import_clsx.default)(
|
|
156
|
+
"px-mobile-component-padding desktop:px-desktop-component-padding compact:px-desktop-compact-component-padding"
|
|
157
|
+
);
|
|
158
|
+
var componentPaddingY = (0, import_clsx.default)(
|
|
159
|
+
"py-mobile-component-padding desktop:py-desktop-component-padding compact:py-desktop-compact-component-padding"
|
|
160
|
+
);
|
|
161
|
+
var componentPaddingXUsingComponentGap = (0, import_clsx.default)(
|
|
162
|
+
"px-mobile-component-gap desktop:px-desktop-component-gap compact:px-desktop-compact-component-gap"
|
|
163
|
+
);
|
|
164
|
+
var componentPaddingYUsingComponentGap = (0, import_clsx.default)(
|
|
165
|
+
"py-mobile-component-gap desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
166
|
+
);
|
|
167
|
+
var componentPaddingYUsingComponentGap2xMobile = (0, import_clsx.default)(
|
|
168
|
+
"py-[calc(var(--spacing-mobile-component-gap)_+_8px)] desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
169
|
+
);
|
|
170
|
+
var componentPaddingMinusBorder = (0, import_clsx.default)(
|
|
171
|
+
"p-[calc(var(--spacing-mobile-component-padding)_-_1px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_1px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_1px)]"
|
|
172
|
+
);
|
|
173
|
+
var componentPaddingMinus2pxBorder = (0, import_clsx.default)(
|
|
174
|
+
"p-[calc(var(--spacing-mobile-component-padding)_-_2px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_2px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_2px)]"
|
|
175
|
+
);
|
|
176
|
+
var componentPaddingMinusBorderDesktop = (0, import_clsx.default)(
|
|
177
|
+
"p-[calc(var(--spacing-desktop-component-padding)_-_1px)]"
|
|
178
|
+
);
|
|
179
|
+
var layoutPaddding = (0, import_clsx.default)(
|
|
180
|
+
"p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding"
|
|
181
|
+
);
|
|
182
|
+
var layoutPaddingBottom = (0, import_clsx.default)(
|
|
183
|
+
"pb-mobile-layout-padding desktop:pb-desktop-layout-padding compact:pb-desktop-compact-layout-padding"
|
|
184
|
+
);
|
|
185
|
+
var layoutPaddingY = (0, import_clsx.default)(
|
|
186
|
+
"py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding"
|
|
187
|
+
);
|
|
188
|
+
var layoutPaddingX = (0, import_clsx.default)(
|
|
189
|
+
"px-mobile-layout-padding desktop:px-desktop-layout-padding compact:px-desktop-compact-layout-padding"
|
|
190
|
+
);
|
|
191
|
+
var containerPaddingX = (0, import_clsx.default)(
|
|
192
|
+
"px-mobile-container-padding desktop:px-desktop-container-padding compact:px-desktop-compact-container-padding"
|
|
193
|
+
);
|
|
194
|
+
var containerPaddingY = (0, import_clsx.default)(
|
|
195
|
+
"py-mobile-container-padding desktop:py-desktop-container-padding compact:py-desktop-compact-container-padding"
|
|
196
|
+
);
|
|
197
|
+
var layoutGroupGapPaddingY = (0, import_clsx.default)(
|
|
198
|
+
"py-mobile-layout-group-gap desktop:py-desktop-layout-group-gap compact:py-desktop-compact-layout-group-gap"
|
|
199
|
+
);
|
|
200
|
+
var layoutGroupGap = (0, import_clsx.default)(
|
|
201
|
+
"gap-mobile-layout-group-gap desktop:gap-desktop-layout-group-gap compact:gap-desktop-compact-layout-group-gap"
|
|
202
|
+
);
|
|
203
|
+
var layoutGap = (0, import_clsx.default)(
|
|
204
|
+
"gap-mobile-layout-gap desktop:gap-desktop-layout-gap compact:gap-desktop-compact-layout-gap"
|
|
205
|
+
);
|
|
206
|
+
var gapUsingContainerPadding = (0, import_clsx.default)(
|
|
207
|
+
"gap-mobile-container-padding desktop:gap-desktop-container-padding compact:gap-desktop-compact-container-padding"
|
|
208
|
+
);
|
|
209
|
+
|
|
210
|
+
// src/components/Subheader.tsx
|
|
211
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
212
|
+
var Subheader = (_a) => {
|
|
213
|
+
var _b = _a, {
|
|
214
|
+
className,
|
|
215
|
+
children,
|
|
216
|
+
as = "span",
|
|
217
|
+
align,
|
|
218
|
+
color,
|
|
219
|
+
tall,
|
|
220
|
+
id,
|
|
221
|
+
testid
|
|
222
|
+
} = _b, props = __objRest(_b, [
|
|
223
|
+
"className",
|
|
224
|
+
"children",
|
|
225
|
+
"as",
|
|
226
|
+
"align",
|
|
227
|
+
"color",
|
|
228
|
+
"tall",
|
|
229
|
+
"id",
|
|
230
|
+
"testid"
|
|
231
|
+
]);
|
|
232
|
+
const Element = as;
|
|
233
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
234
|
+
Element,
|
|
235
|
+
__spreadProps(__spreadValues({
|
|
236
|
+
id,
|
|
237
|
+
"data-testid": testid,
|
|
238
|
+
className: (0, import_clsx2.default)(
|
|
239
|
+
typography.subheader,
|
|
240
|
+
className,
|
|
241
|
+
align === "left" && "text-left",
|
|
242
|
+
align === "center" && "text-center",
|
|
243
|
+
align === "right" && "text-right",
|
|
244
|
+
tall && "!leading-6"
|
|
245
|
+
),
|
|
246
|
+
style: __spreadProps(__spreadValues({}, props.style), {
|
|
247
|
+
color: color ? `var(--color-${color})` : void 0
|
|
248
|
+
})
|
|
249
|
+
}, props), {
|
|
250
|
+
children
|
|
251
|
+
})
|
|
252
|
+
);
|
|
253
|
+
};
|
|
254
|
+
Subheader.displayName = "Subheader";
|
|
255
|
+
|
|
256
|
+
// src/components/Caption.tsx
|
|
257
|
+
var import_clsx4 = __toESM(require("clsx"), 1);
|
|
258
|
+
|
|
259
|
+
// src/components/Icon.tsx
|
|
260
|
+
var import_clsx3 = __toESM(require("clsx"), 1);
|
|
261
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
262
|
+
function Icon(_a) {
|
|
263
|
+
var _b = _a, {
|
|
264
|
+
name,
|
|
265
|
+
size = 24,
|
|
266
|
+
variant = "outline",
|
|
267
|
+
testid
|
|
268
|
+
} = _b, props = __objRest(_b, [
|
|
269
|
+
"name",
|
|
270
|
+
"size",
|
|
271
|
+
"variant",
|
|
272
|
+
"testid"
|
|
273
|
+
]);
|
|
274
|
+
const variantStyle = variant === "filled" ? '"FILL" 1' : '"FILL" 0';
|
|
275
|
+
const weightStyle = size === 16 ? '"wght" 400' : '"wght" 300';
|
|
276
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
277
|
+
"span",
|
|
278
|
+
__spreadProps(__spreadValues({}, props), {
|
|
279
|
+
"data-testid": testid,
|
|
280
|
+
className: (0, import_clsx3.default)(
|
|
281
|
+
"icon",
|
|
282
|
+
`icon-${size}`,
|
|
283
|
+
// size === 16 ? "font-normal" : "font-light", // size 16 font weight is not working as normal from before
|
|
284
|
+
props.className
|
|
285
|
+
),
|
|
286
|
+
style: __spreadValues({
|
|
287
|
+
fontVariationSettings: variantStyle + `, ${weightStyle}`
|
|
288
|
+
}, props.style),
|
|
289
|
+
children: name
|
|
290
|
+
})
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// src/components/Caption.tsx
|
|
295
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
296
|
+
var Caption = (_a) => {
|
|
297
|
+
var _b = _a, {
|
|
298
|
+
className,
|
|
299
|
+
children,
|
|
300
|
+
as = "span",
|
|
301
|
+
style = "default",
|
|
302
|
+
color,
|
|
303
|
+
align,
|
|
304
|
+
id,
|
|
305
|
+
testid,
|
|
306
|
+
marginTopDesktop
|
|
307
|
+
} = _b, props = __objRest(_b, [
|
|
308
|
+
"className",
|
|
309
|
+
"children",
|
|
310
|
+
"as",
|
|
311
|
+
"style",
|
|
312
|
+
"color",
|
|
313
|
+
"align",
|
|
314
|
+
"id",
|
|
315
|
+
"testid",
|
|
316
|
+
"marginTopDesktop"
|
|
317
|
+
]);
|
|
318
|
+
const Element = as;
|
|
319
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { id, "data-testid": testid, className: "flex gap-1", children: [
|
|
320
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
321
|
+
WhichIcon,
|
|
322
|
+
{
|
|
323
|
+
id,
|
|
324
|
+
testid,
|
|
325
|
+
style,
|
|
326
|
+
size: 16,
|
|
327
|
+
className: "mt-[3px] desktop:mt-0"
|
|
328
|
+
}
|
|
329
|
+
),
|
|
330
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
331
|
+
Element,
|
|
332
|
+
__spreadProps(__spreadValues({
|
|
333
|
+
id: id ? `${id}-text` : void 0,
|
|
334
|
+
"data-testid": testid ? `${testid}-text` : void 0,
|
|
335
|
+
className: (0, import_clsx4.default)(
|
|
336
|
+
typography.caption.replace("text-text-primary-normal", ""),
|
|
337
|
+
(style === "default" || style === "info") && "text-text-secondary-normal",
|
|
338
|
+
style === "success" && "text-text-success-normal",
|
|
339
|
+
style === "warning" && "text-text-warning-normal",
|
|
340
|
+
style === "error" && "text-text-critical-normal",
|
|
341
|
+
align === "left" && "text-left",
|
|
342
|
+
align === "center" && "text-center",
|
|
343
|
+
align === "right" && "text-right",
|
|
344
|
+
className,
|
|
345
|
+
marginTopDesktop && `desktop:mt-px`
|
|
346
|
+
)
|
|
347
|
+
}, props), {
|
|
348
|
+
style: {
|
|
349
|
+
color: color ? `var(--color-${color})` : void 0
|
|
350
|
+
},
|
|
351
|
+
children
|
|
352
|
+
})
|
|
353
|
+
)
|
|
354
|
+
] });
|
|
355
|
+
};
|
|
356
|
+
var WhichIcon = ({
|
|
357
|
+
style,
|
|
358
|
+
size,
|
|
359
|
+
className,
|
|
360
|
+
id,
|
|
361
|
+
testid
|
|
362
|
+
}) => {
|
|
363
|
+
if (style === "success") {
|
|
364
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-icon-success-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
365
|
+
Icon,
|
|
366
|
+
{
|
|
367
|
+
id: id ? `${id}-icon` : void 0,
|
|
368
|
+
testid: testid ? `${testid}-icon` : void 0,
|
|
369
|
+
className,
|
|
370
|
+
name: "check_circle",
|
|
371
|
+
size
|
|
372
|
+
}
|
|
373
|
+
) });
|
|
374
|
+
}
|
|
375
|
+
if (style === "warning") {
|
|
376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-icon-warning-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
377
|
+
Icon,
|
|
378
|
+
{
|
|
379
|
+
id: id ? `${id}-icon` : void 0,
|
|
380
|
+
testid: testid ? `${testid}-icon` : void 0,
|
|
381
|
+
className,
|
|
382
|
+
name: "warning",
|
|
383
|
+
size
|
|
384
|
+
}
|
|
385
|
+
) });
|
|
386
|
+
}
|
|
387
|
+
if (style === "error") {
|
|
388
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-icon-critical-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
389
|
+
Icon,
|
|
390
|
+
{
|
|
391
|
+
id: id ? `${id}-icon` : void 0,
|
|
392
|
+
testid: testid ? `${testid}-icon` : void 0,
|
|
393
|
+
className,
|
|
394
|
+
name: "info",
|
|
395
|
+
size
|
|
396
|
+
}
|
|
397
|
+
) });
|
|
398
|
+
}
|
|
399
|
+
if (style === "info") {
|
|
400
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
401
|
+
Icon,
|
|
402
|
+
{
|
|
403
|
+
id: id ? `${id}-icon` : void 0,
|
|
404
|
+
testid: testid ? `${testid}-icon` : void 0,
|
|
405
|
+
className,
|
|
406
|
+
name: "info",
|
|
407
|
+
size
|
|
408
|
+
}
|
|
409
|
+
) });
|
|
410
|
+
}
|
|
411
|
+
return null;
|
|
412
|
+
};
|
|
413
|
+
Caption.displayName = "Caption";
|
|
414
|
+
|
|
415
|
+
// src/components/Radio.tsx
|
|
416
|
+
var import_clsx6 = __toESM(require("clsx"), 1);
|
|
417
|
+
|
|
418
|
+
// src/components/Paragraph.tsx
|
|
419
|
+
var import_clsx5 = __toESM(require("clsx"), 1);
|
|
420
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
421
|
+
var Paragraph = (_a) => {
|
|
422
|
+
var _b = _a, {
|
|
423
|
+
className,
|
|
424
|
+
color,
|
|
425
|
+
padded,
|
|
426
|
+
align = "left",
|
|
427
|
+
tall,
|
|
428
|
+
addOverflow,
|
|
429
|
+
children,
|
|
430
|
+
as = "p",
|
|
431
|
+
id,
|
|
432
|
+
testid
|
|
433
|
+
} = _b, props = __objRest(_b, [
|
|
434
|
+
"className",
|
|
435
|
+
"color",
|
|
436
|
+
"padded",
|
|
437
|
+
"align",
|
|
438
|
+
"tall",
|
|
439
|
+
"addOverflow",
|
|
440
|
+
"children",
|
|
441
|
+
"as",
|
|
442
|
+
"id",
|
|
443
|
+
"testid"
|
|
444
|
+
]);
|
|
445
|
+
const Element = as;
|
|
446
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
447
|
+
Element,
|
|
448
|
+
__spreadProps(__spreadValues({
|
|
449
|
+
id,
|
|
450
|
+
"data-testid": testid
|
|
451
|
+
}, props), {
|
|
452
|
+
className: (0, import_clsx5.default)(
|
|
453
|
+
typography.paragraph,
|
|
454
|
+
className,
|
|
455
|
+
padded && componentPaddingXUsingComponentGap,
|
|
456
|
+
align === "left" && "text-left",
|
|
457
|
+
align === "center" && "text-center",
|
|
458
|
+
align === "right" && "text-right",
|
|
459
|
+
tall && "!leading-6",
|
|
460
|
+
addOverflow && "whitespace-nowrap text-ellipsis overflow-hidden"
|
|
461
|
+
),
|
|
462
|
+
style: __spreadProps(__spreadValues({}, props.style), {
|
|
463
|
+
color: color ? `var(--color-${color})` : void 0
|
|
464
|
+
}),
|
|
465
|
+
children
|
|
466
|
+
})
|
|
467
|
+
);
|
|
468
|
+
};
|
|
469
|
+
Paragraph.displayName = "Paragraph";
|
|
470
|
+
|
|
471
|
+
// src/components/Radio.tsx
|
|
472
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
473
|
+
var Radio = (_a) => {
|
|
474
|
+
var _b = _a, {
|
|
475
|
+
className,
|
|
476
|
+
label,
|
|
477
|
+
error,
|
|
478
|
+
disabled,
|
|
479
|
+
checked,
|
|
480
|
+
readOnly,
|
|
481
|
+
id,
|
|
482
|
+
testid
|
|
483
|
+
} = _b, props = __objRest(_b, [
|
|
484
|
+
"className",
|
|
485
|
+
"label",
|
|
486
|
+
"error",
|
|
487
|
+
"disabled",
|
|
488
|
+
"checked",
|
|
489
|
+
"readOnly",
|
|
490
|
+
"id",
|
|
491
|
+
"testid"
|
|
492
|
+
]);
|
|
493
|
+
const radioId = id;
|
|
494
|
+
const paragraphColor = disabled ? "text-primary-disabled" : error ? "text-primary-error" : "text-primary-normal";
|
|
495
|
+
const defaultClassName = (0, import_clsx6.default)(
|
|
496
|
+
!error && !disabled && "border-border-primary-normal peer-hover:border-border-action-hover peer-hover:bg-background-action-secondary-hover peer-focus:border-border-action-hover peer-focus:bg-background-action-secondary-hover peer-active:border-border-action-active peer-active:bg-background-action-secondary-active peer-checked:border-0 peer-checked:bg-background-action-secondary-hover"
|
|
497
|
+
);
|
|
498
|
+
const errorClassName = (0, import_clsx6.default)(
|
|
499
|
+
error && !disabled && "border-border-action-critical-normal peer-hover:border-border-action-critical-hover peer-hover:bg-background-action-critical-secondary-hover peer-focus:border-border-action-critical-hover peer-focus:bg-background-action-critical-secondary-hover peer-active:border-border-action-critical-active peer-active:bg-background-action-secondary-active peer-checked:bg-background-action-critical-secondary-hover peer-checked:border-0 "
|
|
500
|
+
);
|
|
501
|
+
const disabledClassName = (0, import_clsx6.default)(
|
|
502
|
+
disabled && "peer-disabled:bg-background-action-secondary-disabled peer-disabled:border-border-primary-normal peer-checked:border-0"
|
|
503
|
+
);
|
|
504
|
+
const readonlyClassName = (0, import_clsx6.default)(
|
|
505
|
+
readOnly && "peer-read-only:bg-background-action-secondary-disabled peer-read-only:border-border-primary-normal peer-checked:border-0"
|
|
506
|
+
);
|
|
507
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
508
|
+
"label",
|
|
509
|
+
{
|
|
510
|
+
htmlFor: radioId,
|
|
511
|
+
"data-testid": testid,
|
|
512
|
+
className: (0, import_clsx6.default)(
|
|
513
|
+
"flex items-center",
|
|
514
|
+
componentGap,
|
|
515
|
+
disabled ? "cursor-default" : "cursor-pointer",
|
|
516
|
+
className
|
|
517
|
+
),
|
|
518
|
+
children: [
|
|
519
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "relative", children: [
|
|
520
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
521
|
+
"input",
|
|
522
|
+
__spreadValues({
|
|
523
|
+
id: radioId,
|
|
524
|
+
"data-testid": testid ? `${testid}-input` : void 0,
|
|
525
|
+
type: "radio",
|
|
526
|
+
className: "sr-only peer",
|
|
527
|
+
disabled,
|
|
528
|
+
checked,
|
|
529
|
+
readOnly
|
|
530
|
+
}, props)
|
|
531
|
+
),
|
|
532
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
533
|
+
"div",
|
|
534
|
+
{
|
|
535
|
+
className: (0, import_clsx6.default)(
|
|
536
|
+
"size-6 rounded-full border flex items-center justify-center",
|
|
537
|
+
baseTransition,
|
|
538
|
+
defaultClassName,
|
|
539
|
+
errorClassName,
|
|
540
|
+
disabledClassName,
|
|
541
|
+
readonlyClassName
|
|
542
|
+
),
|
|
543
|
+
children: checked && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
544
|
+
RadioIcon,
|
|
545
|
+
{
|
|
546
|
+
className: (0, import_clsx6.default)(
|
|
547
|
+
"transition-colors",
|
|
548
|
+
!error && !disabled && "text-icon-on-action-secondary-normal hover:text-icon-on-action-secondary-hover active:text-icon-on-action-secondary-active peer-hover:text-icon-on-action-secondary-hover peer-focus:text-icon-on-action-secondary-hover peer-active:text-icon-on-action-secondary-active",
|
|
549
|
+
error && !disabled && "text-icon-action-critical-secondary-normal hover:text-icon-action-critical-secondary-hover active:text-icon-action-critical-secondary-active peer-hover:text-icon-action-critical-secondary-hover peer-focus:text-icon-action-critical-secondary-hover peer-active:text-icon-action-critical-secondary-active",
|
|
550
|
+
disabled && "text-icon-on-action-secondary-disabled",
|
|
551
|
+
readOnly && "text-icon-on-action-secondary-disabled"
|
|
552
|
+
)
|
|
553
|
+
}
|
|
554
|
+
)
|
|
555
|
+
}
|
|
556
|
+
)
|
|
557
|
+
] }),
|
|
558
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Paragraph, { id: radioId ? `${radioId}-label` : void 0, testid: testid ? `${testid}-label` : void 0, padded: true, color: paragraphColor, children: label })
|
|
559
|
+
]
|
|
560
|
+
}
|
|
561
|
+
);
|
|
562
|
+
};
|
|
563
|
+
Radio.displayName = "Radio";
|
|
564
|
+
var RadioIcon = ({ className }) => {
|
|
565
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
566
|
+
"svg",
|
|
567
|
+
{
|
|
568
|
+
className,
|
|
569
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
570
|
+
width: "24",
|
|
571
|
+
height: "24",
|
|
572
|
+
viewBox: "0 0 24 24",
|
|
573
|
+
fill: "none",
|
|
574
|
+
children: [
|
|
575
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
576
|
+
"rect",
|
|
577
|
+
{
|
|
578
|
+
x: "1",
|
|
579
|
+
y: "1",
|
|
580
|
+
width: "22",
|
|
581
|
+
height: "22",
|
|
582
|
+
rx: "11",
|
|
583
|
+
stroke: "currentColor",
|
|
584
|
+
strokeWidth: "2"
|
|
585
|
+
}
|
|
586
|
+
),
|
|
587
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "4", y: "4", width: "16", height: "16", rx: "8", fill: "currentColor" })
|
|
588
|
+
]
|
|
589
|
+
}
|
|
590
|
+
);
|
|
591
|
+
};
|
|
592
|
+
RadioIcon.displayName = "RadioIcon";
|
|
593
|
+
|
|
594
|
+
// src/components/AccessCard.tsx
|
|
595
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
596
|
+
function AccessCard(props) {
|
|
597
|
+
const {
|
|
598
|
+
title,
|
|
599
|
+
description,
|
|
600
|
+
status,
|
|
601
|
+
onClick,
|
|
602
|
+
onDefaultGrantedChange,
|
|
603
|
+
defaultGranted,
|
|
604
|
+
testid,
|
|
605
|
+
error,
|
|
606
|
+
unavailable
|
|
607
|
+
} = props;
|
|
608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
609
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
610
|
+
"div",
|
|
611
|
+
{
|
|
612
|
+
"data-testid": testid,
|
|
613
|
+
className: (0, import_clsx7.default)(
|
|
614
|
+
"cursor-pointer bg-background-grouped-secondary-normal",
|
|
615
|
+
"px-4 py-2 gap-2",
|
|
616
|
+
"shadow-access-card rounded",
|
|
617
|
+
"flex items-center",
|
|
618
|
+
unavailable && "opacity-50 pointer-events-none"
|
|
619
|
+
),
|
|
620
|
+
onClick: (e) => {
|
|
621
|
+
const target = e.target;
|
|
622
|
+
const targetIsTheRadioComponent = target.closest("label");
|
|
623
|
+
if (targetIsTheRadioComponent || defaultGranted) {
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
onClick == null ? void 0 : onClick();
|
|
627
|
+
},
|
|
628
|
+
children: [
|
|
629
|
+
status === "granted" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
630
|
+
Radio,
|
|
631
|
+
{
|
|
632
|
+
testid: testid ? `${testid}-radio` : void 0,
|
|
633
|
+
checked: defaultGranted,
|
|
634
|
+
onChange: () => {
|
|
635
|
+
if (unavailable) {
|
|
636
|
+
return;
|
|
637
|
+
}
|
|
638
|
+
onDefaultGrantedChange == null ? void 0 : onDefaultGrantedChange();
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
),
|
|
642
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-1 flex-1", children: [
|
|
643
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Subheader, { children: title }),
|
|
644
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Caption, { color: "text-primary-normal", children: description })
|
|
645
|
+
] }),
|
|
646
|
+
!defaultGranted && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
647
|
+
Icon,
|
|
648
|
+
{
|
|
649
|
+
name: status === "granted" ? "remove" : "add"
|
|
650
|
+
}
|
|
651
|
+
)
|
|
652
|
+
]
|
|
653
|
+
}
|
|
654
|
+
),
|
|
655
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Caption, { style: "error", children: error })
|
|
656
|
+
] });
|
|
657
|
+
}
|
|
658
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
659
|
+
0 && (module.exports = {
|
|
660
|
+
AccessCard
|
|
661
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AccessCard
|
|
3
|
+
} from "../chunk-XJF4S3RB.js";
|
|
4
|
+
import "../chunk-ZCJWOHFN.js";
|
|
5
|
+
import "../chunk-PS6UJZVH.js";
|
|
6
|
+
import "../chunk-BYC6QID5.js";
|
|
7
|
+
import "../chunk-WMPWWFUJ.js";
|
|
8
|
+
import "../chunk-NKUETCDA.js";
|
|
9
|
+
import "../chunk-7KWFEH56.js";
|
|
10
|
+
import "../chunk-ORMEWXMH.js";
|
|
11
|
+
export {
|
|
12
|
+
AccessCard
|
|
13
|
+
};
|