@infonomic/uikit 3.0.0 → 3.2.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/dist/components/dropdown/dropdown_module.css +8 -13
- package/dist/components/{input → forms}/@types/checkbox.d.ts.map +1 -1
- package/dist/components/{input → forms}/@types/input.d.ts.map +1 -1
- package/dist/components/forms/calendar.d.ts.map +1 -0
- package/dist/components/forms/calendar.module.js +45 -0
- package/dist/components/{calendar → forms}/calendar_module.css +44 -44
- package/dist/components/{input → forms}/checkbox-group.d.ts.map +1 -1
- package/dist/components/{input → forms}/checkbox.d.ts.map +1 -1
- package/dist/components/forms/checkbox.module.js +25 -0
- package/dist/components/{input → forms}/checkbox_module.css +29 -29
- package/dist/components/{input → forms}/error-text.d.ts.map +1 -1
- package/dist/components/{input → forms}/error-text.module.js +1 -1
- package/dist/components/{input → forms}/error-text_module.css +2 -2
- package/dist/components/{input → forms}/errors.d.ts.map +1 -1
- package/dist/components/{input → forms}/help-text.d.ts.map +1 -1
- package/dist/components/{input → forms}/help-text.module.js +1 -1
- package/dist/components/forms/help-text_module.css +9 -0
- package/dist/components/{input → forms}/input-adornment.d.ts.map +1 -1
- package/dist/components/{input → forms}/input-adornment.module.js +3 -3
- package/dist/components/{input → forms}/input-adornment_module.css +3 -3
- package/dist/components/{input → forms}/input.d.ts.map +1 -1
- package/dist/components/forms/input.module.js +27 -0
- package/dist/components/{input → forms}/input_module.css +35 -35
- package/dist/components/{input → forms}/label.d.ts.map +1 -1
- package/dist/components/{input → forms}/label.module.js +2 -2
- package/dist/components/{input → forms}/label_module.css +4 -4
- package/dist/components/{input → forms}/radio-group.d.ts.map +1 -1
- package/dist/components/forms/radio-group.module.js +20 -0
- package/dist/components/{input → forms}/radio-group_module.css +23 -23
- package/dist/components/{input → forms}/select.d.ts.map +1 -1
- package/dist/components/forms/select.module.js +13 -0
- package/dist/components/{input → forms}/select_module.css +18 -25
- package/dist/components/{input → forms}/text-area.d.ts.map +1 -1
- package/dist/components/{input → forms}/text-area.module.js +2 -2
- package/dist/components/{input → forms}/text-area_module.css +1 -1
- package/dist/components/{input → forms}/utils.d.ts.map +1 -1
- package/dist/components/pager/pagination_module.css +7 -18
- package/dist/components/scroll-area/scroll-area_module.css +4 -20
- package/dist/components/tooltip/tooltip_module.css +4 -14
- package/dist/icons/activity-icon.js +1 -1
- package/dist/icons/calendar-icon.js +1 -1
- package/dist/icons/check-icon.js +1 -1
- package/dist/icons/chevron-down-icon.js +1 -1
- package/dist/icons/chevron-left-double-icon.js +1 -1
- package/dist/icons/chevron-left-icon.js +1 -1
- package/dist/icons/chevron-right-double-icon.js +1 -1
- package/dist/icons/chevron-right-icon.js +1 -1
- package/dist/icons/chevrons-up-down.js +1 -1
- package/dist/icons/dashboard-icon.js +1 -1
- package/dist/icons/document-icon.js +1 -1
- package/dist/icons/download-icon.js +1 -1
- package/dist/icons/edit-icon.js +1 -1
- package/dist/icons/ellipsis-icon.js +1 -1
- package/dist/icons/email-icon.js +1 -1
- package/dist/icons/github-icon.js +1 -1
- package/dist/icons/globe-icon.js +1 -1
- package/dist/icons/gripper-vertical-icon.js +1 -1
- package/dist/icons/history-icon.js +1 -1
- package/dist/icons/home-icon.js +1 -1
- package/dist/icons/light-icon.js +1 -1
- package/dist/icons/moon-icon.js +1 -1
- package/dist/icons/plus-icon.js +1 -1
- package/dist/icons/refresh-icon.js +1 -1
- package/dist/icons/return-icon.js +1 -1
- package/dist/icons/roles-icon.js +1 -1
- package/dist/icons/search-icon.js +1 -1
- package/dist/icons/settings-gear-icon.js +1 -1
- package/dist/icons/settings-sliders-icon.js +1 -1
- package/dist/icons/sign-out-icon.js +1 -1
- package/dist/icons/stopwatch-icon.js +1 -1
- package/dist/icons/user-icon.js +1 -1
- package/dist/icons/users-icon.js +1 -1
- package/dist/icons/wallet-icon.js +1 -1
- package/dist/react.d.ts +13 -13
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +13 -13
- package/dist/styles/styles.css +1 -1
- package/dist/widgets/datepicker/datepicker.d.ts +1 -1
- package/dist/widgets/datepicker/datepicker.d.ts.map +1 -1
- package/dist/widgets/datepicker/datepicker.js +3 -2
- package/dist/widgets/datepicker/datepicker_module.css +2 -2
- package/dist/widgets/drawer/drawer_module.css +1 -5
- package/dist/widgets/modal/modal_module.css +1 -5
- package/dist/widgets/search/search.d.ts +1 -1
- package/dist/widgets/search/search.d.ts.map +1 -1
- package/dist/widgets/search/search.js +2 -1
- package/package.json +1 -1
- package/src/astro.d.ts +5 -5
- package/src/astro.js +5 -5
- package/src/components/dropdown/dropdown.module.css +9 -24
- package/src/components/{calendar → forms}/calendar.stories.tsx +1 -1
- package/src/components/{input → forms}/checkbox.stories.tsx +1 -1
- package/src/components/forms/help-text.module.css +8 -0
- package/src/components/{input → forms}/input.stories.tsx +1 -1
- package/src/components/{input → forms}/radio-group.stories.tsx +2 -2
- package/src/components/{input → forms}/select.module.css +10 -17
- package/src/components/{input → forms}/select.stories.tsx +1 -1
- package/src/components/{input → forms}/text-area.stories.tsx +1 -1
- package/src/components/{input → forms}/utils.ts +2 -2
- package/src/components/pager/pagination.module.css +7 -23
- package/src/components/scroll-area/scroll-area.module.css +4 -20
- package/src/components/tooltip/tooltip.module.css +6 -16
- package/src/icons/activity-icon.tsx +1 -1
- package/src/icons/calendar-icon.tsx +1 -1
- package/src/icons/check-icon.tsx +1 -1
- package/src/icons/chevron-down-icon.tsx +1 -1
- package/src/icons/chevron-left-double-icon.tsx +1 -1
- package/src/icons/chevron-left-icon.tsx +1 -1
- package/src/icons/chevron-right-double-icon.tsx +1 -1
- package/src/icons/chevron-right-icon.tsx +1 -1
- package/src/icons/chevrons-up-down.tsx +1 -1
- package/src/icons/close-icon.astro +1 -1
- package/src/icons/dashboard-icon.tsx +1 -1
- package/src/icons/document-icon.tsx +1 -1
- package/src/icons/download-icon.tsx +1 -1
- package/src/icons/edit-icon.tsx +1 -1
- package/src/icons/ellipsis-icon.tsx +1 -1
- package/src/icons/email-icon.tsx +1 -1
- package/src/icons/github-icon.tsx +1 -1
- package/src/icons/globe-icon.tsx +1 -1
- package/src/icons/gripper-vertical-icon.tsx +1 -1
- package/src/icons/history-icon.tsx +1 -1
- package/src/icons/home-icon.tsx +1 -1
- package/src/icons/light-icon.astro +1 -1
- package/src/icons/light-icon.tsx +1 -1
- package/src/icons/moon-icon.astro +1 -1
- package/src/icons/moon-icon.tsx +1 -1
- package/src/icons/plus-icon.tsx +1 -1
- package/src/icons/refresh-icon.tsx +1 -1
- package/src/icons/return-icon.tsx +1 -1
- package/src/icons/roles-icon.tsx +1 -1
- package/src/icons/search-icon.astro +1 -1
- package/src/icons/search-icon.tsx +1 -1
- package/src/icons/settings-gear-icon.tsx +1 -1
- package/src/icons/settings-sliders-icon.tsx +1 -1
- package/src/icons/sign-out-icon.tsx +1 -1
- package/src/icons/stopwatch-icon.tsx +1 -1
- package/src/icons/user-icon.tsx +1 -1
- package/src/icons/users-icon.tsx +1 -1
- package/src/icons/wallet-icon.tsx +1 -1
- package/src/react.ts +13 -13
- package/src/styles/theme/tokens.css +70 -0
- package/src/widgets/datepicker/datepicker.module.css +2 -2
- package/src/widgets/datepicker/datepicker.tsx +4 -3
- package/src/widgets/drawer/drawer.module.css +1 -5
- package/src/widgets/modal/modal.module.css +1 -5
- package/src/widgets/search/search.tsx +3 -2
- package/dist/components/calendar/calendar.d.ts.map +0 -1
- package/dist/components/calendar/calendar.module.js +0 -45
- package/dist/components/input/checkbox.module.js +0 -25
- package/dist/components/input/help-text_module.css +0 -13
- package/dist/components/input/index.d.ts +0 -9
- package/dist/components/input/index.d.ts.map +0 -1
- package/dist/components/input/input.module.js +0 -27
- package/dist/components/input/radio-group.module.js +0 -20
- package/dist/components/input/select.module.js +0 -13
- package/src/components/input/help-text.module.css +0 -19
- /package/dist/components/{input → forms}/@types/checkbox.d.ts +0 -0
- /package/dist/components/{input → forms}/@types/checkbox.js +0 -0
- /package/dist/components/{input → forms}/@types/input.d.ts +0 -0
- /package/dist/components/{input → forms}/@types/input.js +0 -0
- /package/dist/components/{calendar → forms}/calendar.d.ts +0 -0
- /package/dist/components/{calendar → forms}/calendar.js +0 -0
- /package/dist/components/{input → forms}/checkbox-group.d.ts +0 -0
- /package/dist/components/{input → forms}/checkbox-group.js +0 -0
- /package/dist/components/{input → forms}/checkbox.d.ts +0 -0
- /package/dist/components/{input → forms}/checkbox.js +0 -0
- /package/dist/components/{input → forms}/error-text.d.ts +0 -0
- /package/dist/components/{input → forms}/error-text.js +0 -0
- /package/dist/components/{input → forms}/errors.d.ts +0 -0
- /package/dist/components/{input → forms}/errors.js +0 -0
- /package/dist/components/{input → forms}/help-text.d.ts +0 -0
- /package/dist/components/{input → forms}/help-text.js +0 -0
- /package/dist/components/{input → forms}/index.js +0 -0
- /package/dist/components/{input → forms}/input-adornment.d.ts +0 -0
- /package/dist/components/{input → forms}/input-adornment.js +0 -0
- /package/dist/components/{input → forms}/input.d.ts +0 -0
- /package/dist/components/{input → forms}/input.js +0 -0
- /package/dist/components/{input → forms}/label.d.ts +0 -0
- /package/dist/components/{input → forms}/label.js +0 -0
- /package/dist/components/{input → forms}/radio-group.d.ts +0 -0
- /package/dist/components/{input → forms}/radio-group.js +0 -0
- /package/dist/components/{input → forms}/select.d.ts +0 -0
- /package/dist/components/{input → forms}/select.js +0 -0
- /package/dist/components/{input → forms}/text-area.d.ts +0 -0
- /package/dist/components/{input → forms}/text-area.js +0 -0
- /package/dist/components/{input → forms}/utils.d.ts +0 -0
- /package/dist/components/{input → forms}/utils.js +0 -0
- /package/src/components/{input → forms}/@types/checkbox.ts +0 -0
- /package/src/components/{input → forms}/@types/input.ts +0 -0
- /package/src/components/{calendar → forms}/calendar.module.css +0 -0
- /package/src/components/{calendar → forms}/calendar.tsx +0 -0
- /package/src/components/{input → forms}/checkbox-group.tsx +0 -0
- /package/src/components/{input → forms}/checkbox.module.css +0 -0
- /package/src/components/{input → forms}/checkbox.tsx +0 -0
- /package/src/components/{input → forms}/error-text.astro +0 -0
- /package/src/components/{input → forms}/error-text.module.css +0 -0
- /package/src/components/{input → forms}/error-text.tsx +0 -0
- /package/src/components/{input → forms}/errors.tsx +0 -0
- /package/src/components/{input → forms}/help-text.astro +0 -0
- /package/src/components/{input → forms}/help-text.tsx +0 -0
- /package/src/components/{input → forms}/index.tsx +0 -0
- /package/src/components/{input → forms}/input-adornment.astro +0 -0
- /package/src/components/{input → forms}/input-adornment.module.css +0 -0
- /package/src/components/{input → forms}/input-adornment.tsx +0 -0
- /package/src/components/{input → forms}/input.astro +0 -0
- /package/src/components/{input → forms}/input.module.css +0 -0
- /package/src/components/{input → forms}/input.tsx +0 -0
- /package/src/components/{input → forms}/label.astro +0 -0
- /package/src/components/{input → forms}/label.module.css +0 -0
- /package/src/components/{input → forms}/label.tsx +0 -0
- /package/src/components/{input → forms}/radio-group.module.css +0 -0
- /package/src/components/{input → forms}/radio-group.tsx +0 -0
- /package/src/components/{input → forms}/select.tsx +0 -0
- /package/src/components/{input → forms}/text-area.module.css +0 -0
- /package/src/components/{input → forms}/text-area.tsx +0 -0
|
@@ -13,7 +13,7 @@ export const SettingsSlidersIcon = ({
|
|
|
13
13
|
svgClassName,
|
|
14
14
|
...rest
|
|
15
15
|
}: IconProps): React.JSX.Element => {
|
|
16
|
-
const applied = cx(styles['fill-none'], styles['stroke-
|
|
16
|
+
const applied = cx(styles['fill-none'], styles['stroke-current'], svgClassName)
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<IconElement className={cx('settings-sliders-icon', className)} {...rest}>
|
|
@@ -9,7 +9,7 @@ import type { IconProps } from './types/icon.js'
|
|
|
9
9
|
import styles from './icons.module.css'
|
|
10
10
|
|
|
11
11
|
export const SignOutIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
12
|
-
const applied = cx(styles['fill-none'], styles['stroke-
|
|
12
|
+
const applied = cx(styles['fill-none'], styles['stroke-current'], svgClassName)
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<IconElement className={cx('sign-out-icon', className)} {...rest}>
|
|
@@ -13,7 +13,7 @@ export const StopwatchIcon = ({
|
|
|
13
13
|
svgClassName,
|
|
14
14
|
...rest
|
|
15
15
|
}: IconProps): React.JSX.Element => {
|
|
16
|
-
const applied = cx(styles['fill-
|
|
16
|
+
const applied = cx(styles['fill-current'], styles['stroke-none'], svgClassName)
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<IconElement className={cx('stopwatch-icon', className)} {...rest}>
|
package/src/icons/user-icon.tsx
CHANGED
|
@@ -9,7 +9,7 @@ import type { IconProps } from './types/icon.js'
|
|
|
9
9
|
import styles from './icons.module.css'
|
|
10
10
|
|
|
11
11
|
export const UserIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
12
|
-
const applied = cx(styles['fill-none'], styles['stroke-
|
|
12
|
+
const applied = cx(styles['fill-none'], styles['stroke-current'], svgClassName)
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<IconElement className={cx('user-icon', className)} {...rest}>
|
package/src/icons/users-icon.tsx
CHANGED
|
@@ -9,7 +9,7 @@ import type { IconProps } from './types/icon.js'
|
|
|
9
9
|
import styles from './icons.module.css'
|
|
10
10
|
|
|
11
11
|
export const UsersIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
12
|
-
const applied = cx(styles['fill-none'], styles['stroke-
|
|
12
|
+
const applied = cx(styles['fill-none'], styles['stroke-current'], svgClassName)
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<IconElement className={cx('users-icon', className)} {...rest}>
|
|
@@ -9,7 +9,7 @@ import type { IconProps } from './types/icon.js'
|
|
|
9
9
|
import styles from './icons.module.css'
|
|
10
10
|
|
|
11
11
|
export const WalletIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
12
|
-
const applied = cx(styles['fill-
|
|
12
|
+
const applied = cx(styles['fill-current'], svgClassName)
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<IconElement className={cx('wallet-icon', className)} {...rest}>
|
package/src/react.ts
CHANGED
|
@@ -13,23 +13,23 @@ export * from './components/button/button-group.js'
|
|
|
13
13
|
export * from './components/button/control-buttons.js'
|
|
14
14
|
export * from './components/button/copy-button.js'
|
|
15
15
|
export * from './components/button/icon-button.js'
|
|
16
|
-
export * from './components/calendar/calendar.js'
|
|
17
16
|
export * from './components/card/card.js'
|
|
18
17
|
export * from './components/container/container.js'
|
|
19
18
|
export * from './components/dropdown/dropdown.js'
|
|
20
19
|
export * from './components/hamburger/hamburger.js'
|
|
21
|
-
export * from './components/
|
|
22
|
-
export * from './components/
|
|
23
|
-
export * from './components/
|
|
24
|
-
export * from './components/
|
|
25
|
-
export * from './components/
|
|
26
|
-
export * from './components/
|
|
27
|
-
export * from './components/
|
|
28
|
-
export * from './components/input
|
|
29
|
-
export * from './components/
|
|
30
|
-
export * from './components/
|
|
31
|
-
export * from './components/
|
|
32
|
-
export * from './components/
|
|
20
|
+
export * from './components/forms/calendar.js'
|
|
21
|
+
export * from './components/forms/checkbox.js'
|
|
22
|
+
export * from './components/forms/checkbox-group.js'
|
|
23
|
+
export * from './components/forms/error-text.js'
|
|
24
|
+
export * from './components/forms/errors.js'
|
|
25
|
+
export * from './components/forms/help-text.js'
|
|
26
|
+
export * from './components/forms/input.js'
|
|
27
|
+
export * from './components/forms/input-adornment.js'
|
|
28
|
+
export * from './components/forms/label.js'
|
|
29
|
+
export * from './components/forms/radio-group.js'
|
|
30
|
+
export * from './components/forms/select.js'
|
|
31
|
+
export * from './components/forms/text-area.js'
|
|
32
|
+
export * from './components/forms/utils.js'
|
|
33
33
|
export * from './components/notifications/alert.js'
|
|
34
34
|
export * from './components/notifications/toast.js'
|
|
35
35
|
export * from './components/pager/pagination.js'
|
|
@@ -208,6 +208,30 @@
|
|
|
208
208
|
--gradient-danger-end: var(--red-700);
|
|
209
209
|
--gradient-danger-foreground: white;
|
|
210
210
|
--gradient-danger-disabled: oklch(from var(--red-700) calc(l * 1.2) calc(c * 0.85) h);
|
|
211
|
+
|
|
212
|
+
/* SURFACE TOKENS (for panels, dropdowns, menus, lists)
|
|
213
|
+
----------------------------------------------------------------- */
|
|
214
|
+
|
|
215
|
+
/* Panel/container backgrounds */
|
|
216
|
+
--surface-panel: var(--canvas-25);
|
|
217
|
+
--surface-panel-elevated: white; /* For dropdowns/popovers with shadow */
|
|
218
|
+
--surface-panel-border: var(--border-color);
|
|
219
|
+
|
|
220
|
+
/* Item backgrounds (default transparent, inherits panel) */
|
|
221
|
+
--surface-item: transparent;
|
|
222
|
+
--surface-item-hover: var(--canvas-50);
|
|
223
|
+
--surface-item-active: var(--canvas-100);
|
|
224
|
+
|
|
225
|
+
/* Item text colors */
|
|
226
|
+
--surface-item-text: var(--text);
|
|
227
|
+
--surface-item-text-hover: var(--text);
|
|
228
|
+
--surface-item-text-active: var(--text);
|
|
229
|
+
--surface-item-text-disabled: var(--gray-400);
|
|
230
|
+
|
|
231
|
+
/* Panel scrollers */
|
|
232
|
+
--surface-panel-scrollbar: var(--gray-50);
|
|
233
|
+
--surface-panel-scrollbar-thumb: var(--primary-100);
|
|
234
|
+
|
|
211
235
|
}
|
|
212
236
|
|
|
213
237
|
/* ===================================================================
|
|
@@ -397,6 +421,29 @@
|
|
|
397
421
|
--gradient-danger-end: var(--red-700);
|
|
398
422
|
--gradient-danger-foreground: white;
|
|
399
423
|
--gradient-danger-disabled: oklch(from var(--red-700) calc(l * 0.85) calc(c * 0.85) h);
|
|
424
|
+
|
|
425
|
+
/* SURFACE TOKENS (Dark Mode)
|
|
426
|
+
----------------------------------------------------------------- */
|
|
427
|
+
|
|
428
|
+
/* Panel/container backgrounds - slightly elevated from canvas-900 base */
|
|
429
|
+
--surface-panel: var(--canvas-800);
|
|
430
|
+
--surface-panel-elevated: var(--canvas-800);
|
|
431
|
+
--surface-panel-border: var(--border-color);
|
|
432
|
+
|
|
433
|
+
/* Item backgrounds - lighter than panel for hover/active */
|
|
434
|
+
--surface-item: transparent;
|
|
435
|
+
--surface-item-hover: var(--canvas-700);
|
|
436
|
+
--surface-item-active: var(--canvas-600);
|
|
437
|
+
|
|
438
|
+
/* Item text colors */
|
|
439
|
+
--surface-item-text: var(--text);
|
|
440
|
+
--surface-item-text-hover: var(--text);
|
|
441
|
+
--surface-item-text-active: var(--text);
|
|
442
|
+
--surface-item-text-disabled: var(--gray-500);
|
|
443
|
+
|
|
444
|
+
/* Panel scrollers */
|
|
445
|
+
--surface-panel-scrollbar: var(--canvas-700);
|
|
446
|
+
--surface-panel-scrollbar-thumb: var(--primary-400);
|
|
400
447
|
}
|
|
401
448
|
|
|
402
449
|
/* ===================================================================
|
|
@@ -596,5 +643,28 @@
|
|
|
596
643
|
--gradient-danger-end: var(--red-700);
|
|
597
644
|
--gradient-danger-foreground: white;
|
|
598
645
|
--gradient-danger-disabled: oklch(from var(--red-700) calc(l * 1.2) calc(c * 0.85) h);
|
|
646
|
+
|
|
647
|
+
/* SURFACE TOKENS (Force Light Mode)
|
|
648
|
+
----------------------------------------------------------------- */
|
|
649
|
+
|
|
650
|
+
/* Panel/container backgrounds - identical to :root */
|
|
651
|
+
--surface-panel: var(--canvas-25);
|
|
652
|
+
--surface-panel-elevated: white;
|
|
653
|
+
--surface-panel-border: var(--border-color);
|
|
654
|
+
|
|
655
|
+
/* Item backgrounds */
|
|
656
|
+
--surface-item: transparent;
|
|
657
|
+
--surface-item-hover: var(--canvas-50);
|
|
658
|
+
--surface-item-active: var(--canvas-100);
|
|
659
|
+
|
|
660
|
+
/* Item text colors */
|
|
661
|
+
--surface-item-text: var(--text);
|
|
662
|
+
--surface-item-text-hover: var(--text);
|
|
663
|
+
--surface-item-text-active: var(--text);
|
|
664
|
+
--surface-item-text-disabled: var(--gray-400);
|
|
665
|
+
|
|
666
|
+
/* Panel scrollers */
|
|
667
|
+
--surface-panel-scrollbar: var(--gray-50);
|
|
668
|
+
--surface-panel-scrollbar-thumb: var(--primary-100);
|
|
599
669
|
}
|
|
600
670
|
}
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
right: 5px;
|
|
110
110
|
|
|
111
111
|
&:hover {
|
|
112
|
-
background-color: var(--
|
|
112
|
+
background-color: var(--primary-400);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
&:focus {
|
|
116
|
-
box-shadow: 0 0 0 2px var(--
|
|
116
|
+
box-shadow: 0 0 0 2px var(--primary-600);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -13,9 +13,10 @@ import type React from 'react'
|
|
|
13
13
|
import { useEffect, useRef, useState } from 'react'
|
|
14
14
|
import { Button } from '../../components/button/button.js'
|
|
15
15
|
import { IconButton } from '../../components/button/icon-button.js'
|
|
16
|
-
import { Calendar } from '../../components/
|
|
17
|
-
import { Input
|
|
18
|
-
import
|
|
16
|
+
import { Calendar } from '../../components/forms/calendar.js'
|
|
17
|
+
import { Input } from '../../components/forms/input.js'
|
|
18
|
+
import { InputAdornment } from '../../components/forms/input-adornment.js'
|
|
19
|
+
import type { Intent, Size, Variant } from '../../components/forms/@types/input.js'
|
|
19
20
|
import { ScrollArea } from '../../components/scroll-area/scroll-area.js'
|
|
20
21
|
import { CalendarIcon } from '../../icons/calendar-icon.js'
|
|
21
22
|
import { CloseIcon } from '../../icons/close-icon.js'
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
position: absolute;
|
|
20
20
|
right: 0;
|
|
21
21
|
height: 100%;
|
|
22
|
-
background-color: var(--
|
|
22
|
+
background-color: var(--surface-panel);
|
|
23
23
|
box-shadow: var(--shadow-md);
|
|
24
24
|
z-index: inherit;
|
|
25
25
|
}
|
|
@@ -28,10 +28,6 @@
|
|
|
28
28
|
animation: slideIn 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.drawer-container:is(:global(.dark) *) {
|
|
32
|
-
background: var(--canvas-800);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
31
|
.drawer-depth-0.drawer-medium .drawer-container,
|
|
36
32
|
.drawer-depth-0.drawer-wide .drawer-container {
|
|
37
33
|
width: 90%;
|
|
@@ -26,16 +26,12 @@
|
|
|
26
26
|
max-height: 88vh;
|
|
27
27
|
width: 100%;
|
|
28
28
|
bottom: 0;
|
|
29
|
-
background-color: var(--
|
|
29
|
+
background-color: var(--surface-panel);
|
|
30
30
|
border: 1px solid var(--border-color);
|
|
31
31
|
margin-left: var(--spacing-2);
|
|
32
32
|
margin-right: var(--spacing-2);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.modal-container:is(:global(.dark) *) {
|
|
36
|
-
background: var(--canvas-800);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
35
|
@media screen and (min-width: 640px) {
|
|
40
36
|
.modal-container {
|
|
41
37
|
max-height: calc(100vh - 24px);
|
|
@@ -4,8 +4,9 @@ import type React from 'react'
|
|
|
4
4
|
import { useEffect, useRef, useState } from 'react'
|
|
5
5
|
|
|
6
6
|
import { IconButton } from '../../components/button/index.js'
|
|
7
|
-
import { Input
|
|
8
|
-
import
|
|
7
|
+
import { Input } from '../../components/forms/input.js'
|
|
8
|
+
import { InputAdornment } from '../../components/forms/input-adornment.js'
|
|
9
|
+
import type { ClassName, Intent, Size, Variant } from '../../components/forms/@types/input.js'
|
|
9
10
|
import { CloseIcon, SearchIcon } from '../../icons'
|
|
10
11
|
|
|
11
12
|
export interface SearchProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,kBAAkB,CAAA;AAOzB,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG;IAC3C,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA;IACrC,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,sBAAsB,CAAC,EAAE,MAAM,CAAA;CAChC,CAAA;AAED,wBAAgB,QAAQ,CAAC,EACvB,GAAG,EACH,SAAS,EACT,UAAU,EACV,cAAc,EACd,eAAsB,EACtB,UAAU,EAAE,gBAAgB,EAC5B,GAAG,KAAK,EACT,EAAE,aAAa,qBAmHf;yBA3He,QAAQ"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import "./calendar_module.css";
|
|
2
|
-
const calendar_module = {
|
|
3
|
-
"day-picker": "day-picker-HxQ06v",
|
|
4
|
-
dayPicker: "day-picker-HxQ06v",
|
|
5
|
-
months: "months-J7TsUl",
|
|
6
|
-
"months-caption": "months-caption-PiBupQ",
|
|
7
|
-
monthsCaption: "months-caption-PiBupQ",
|
|
8
|
-
dropdowns: "dropdowns-VSCOqg",
|
|
9
|
-
"select-trigger": "select-trigger-WeVDcK",
|
|
10
|
-
selectTrigger: "select-trigger-WeVDcK",
|
|
11
|
-
"select-content": "select-content-aP7E2D",
|
|
12
|
-
selectContent: "select-content-aP7E2D",
|
|
13
|
-
"select-item": "select-item-cZh04s",
|
|
14
|
-
selectItem: "select-item-cZh04s",
|
|
15
|
-
"select-chevrons": "select-chevrons-dzIT2u",
|
|
16
|
-
selectChevrons: "select-chevrons-dzIT2u",
|
|
17
|
-
"scroll-area": "scroll-area-RHBUqm",
|
|
18
|
-
scrollArea: "scroll-area-RHBUqm",
|
|
19
|
-
disabled: "disabled-LuShHt",
|
|
20
|
-
hidden: "hidden-MqCEoh",
|
|
21
|
-
outside: "outside-xAO7ei",
|
|
22
|
-
footer: "footer-svWbOa",
|
|
23
|
-
weekdays: "weekdays-P7Wn2B",
|
|
24
|
-
weekday: "weekday-sPtrWT",
|
|
25
|
-
"caption-label": "caption-label-inrEqz",
|
|
26
|
-
captionLabel: "caption-label-inrEqz",
|
|
27
|
-
"month-grid": "month-grid-BQtPCl",
|
|
28
|
-
monthGrid: "month-grid-BQtPCl",
|
|
29
|
-
week: "week-y9eP5X",
|
|
30
|
-
day: "day-r6Pemd",
|
|
31
|
-
today: "today-sC2iTu",
|
|
32
|
-
"day-selected": "day-selected-tJv7Z9",
|
|
33
|
-
daySelected: "day-selected-tJv7Z9",
|
|
34
|
-
"day-button": "day-button-UTNEY0",
|
|
35
|
-
dayButton: "day-button-UTNEY0",
|
|
36
|
-
"button-range": "button-range-m7XSpc",
|
|
37
|
-
buttonRange: "button-range-m7XSpc",
|
|
38
|
-
"range-start": "range-start-LrEVeH",
|
|
39
|
-
rangeStart: "range-start-LrEVeH",
|
|
40
|
-
"range-end": "range-end-sbDF9w",
|
|
41
|
-
rangeEnd: "range-end-sbDF9w",
|
|
42
|
-
"range-middle": "range-middle-Ptrd1e",
|
|
43
|
-
rangeMiddle: "range-middle-Ptrd1e"
|
|
44
|
-
};
|
|
45
|
-
export { calendar_module as default };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import "./checkbox_module.css";
|
|
2
|
-
const checkbox_module = {
|
|
3
|
-
container: "container-Vffpk2",
|
|
4
|
-
reverse: "reverse-zpoUi8",
|
|
5
|
-
checkbox: "checkbox-pyuf1w",
|
|
6
|
-
indicator: "indicator-Q101gw",
|
|
7
|
-
icon: "icon-P5QloZ",
|
|
8
|
-
checkBoxIn: "checkBoxIn-yYID5l",
|
|
9
|
-
checkBoxOut: "checkBoxOut-bVuKzb",
|
|
10
|
-
label: "label-WUOrjh",
|
|
11
|
-
errorText: "errorText-bMyiOA",
|
|
12
|
-
sm: "sm-gLkW6x",
|
|
13
|
-
md: "md-o__rzc",
|
|
14
|
-
lg: "lg-WOB1US",
|
|
15
|
-
outlined: "outlined-XUVtqj",
|
|
16
|
-
filled: "filled-xQyvip",
|
|
17
|
-
primary: "primary-mNSmqc",
|
|
18
|
-
secondary: "secondary-B96Jra",
|
|
19
|
-
noeffect: "noeffect-J5I4Dv",
|
|
20
|
-
success: "success-LoZ4k7",
|
|
21
|
-
info: "info-NNf4yN",
|
|
22
|
-
warning: "warning-eEgBnF",
|
|
23
|
-
danger: "danger-FZ5wZH"
|
|
24
|
-
};
|
|
25
|
-
export { checkbox_module as default };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
|
-
|
|
3
|
-
@layer infonomic-components {
|
|
4
|
-
.text-cLsIw6 {
|
|
5
|
-
color: var(--gray-800);
|
|
6
|
-
font-size: .875rem;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.dark .text-cLsIw6:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
10
|
-
color: var(--gray-300);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './input.js';
|
|
2
|
-
export * from './input-adornment.js';
|
|
3
|
-
export * from './label.js';
|
|
4
|
-
export * from './help-text.js';
|
|
5
|
-
export * from './select.js';
|
|
6
|
-
export * from './text-area.js';
|
|
7
|
-
export * from './checkbox.js';
|
|
8
|
-
export * from './utils.js';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import "./input_module.css";
|
|
2
|
-
const input_module = {
|
|
3
|
-
inputWrapper: "inputWrapper-mAHVD5",
|
|
4
|
-
inputContainer: "inputContainer-rwVhce",
|
|
5
|
-
input: "input-ZoQqR8",
|
|
6
|
-
label: "label-XCzmEc",
|
|
7
|
-
sm: "sm-gXd6Lj",
|
|
8
|
-
md: "md-FLpZg6",
|
|
9
|
-
lg: "lg-Gx_VXF",
|
|
10
|
-
startAdornment: "startAdornment-m5OhH9",
|
|
11
|
-
endAdornment: "endAdornment-I8D_Kn",
|
|
12
|
-
helpText: "helpText-mMTduV",
|
|
13
|
-
outlined: "outlined-A4FTMB",
|
|
14
|
-
underlined: "underlined-UMONwU",
|
|
15
|
-
filled: "filled-IQq2M9",
|
|
16
|
-
error: "error-bZhwHt",
|
|
17
|
-
startAdornmentPadding: "startAdornmentPadding-dcRUiO",
|
|
18
|
-
endAdornmentPadding: "endAdornmentPadding-jiTlQb",
|
|
19
|
-
primary: "primary-FIrC7m",
|
|
20
|
-
secondary: "secondary-LmtH1h",
|
|
21
|
-
noeffect: "noeffect-Kb93bb",
|
|
22
|
-
success: "success-fNk168",
|
|
23
|
-
info: "info-_CXlQd",
|
|
24
|
-
warning: "warning-abMXZC",
|
|
25
|
-
danger: "danger-Q_LJPS"
|
|
26
|
-
};
|
|
27
|
-
export { input_module as default };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import "./radio-group_module.css";
|
|
2
|
-
const radio_group_module = {
|
|
3
|
-
column: "column-LQ2EAh",
|
|
4
|
-
row: "row-M59fte",
|
|
5
|
-
"item-container": "item-container-EbfM2u",
|
|
6
|
-
itemContainer: "item-container-EbfM2u",
|
|
7
|
-
item: "item-G_Mwa0",
|
|
8
|
-
indicator: "indicator-TInuBM",
|
|
9
|
-
radioIn: "radioIn-L_nBcr",
|
|
10
|
-
radioOut: "radioOut-XH65vc",
|
|
11
|
-
label: "label-YpJiLs",
|
|
12
|
-
primary: "primary-W2P_QT",
|
|
13
|
-
secondary: "secondary-PWYoVU",
|
|
14
|
-
noeffect: "noeffect-In5gxi",
|
|
15
|
-
success: "success-R2Jb22",
|
|
16
|
-
info: "info-A_p4DP",
|
|
17
|
-
warning: "warning-MWFrsJ",
|
|
18
|
-
danger: "danger-Lk8pek"
|
|
19
|
-
};
|
|
20
|
-
export { radio_group_module as default };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "./select_module.css";
|
|
2
|
-
const select_module = {
|
|
3
|
-
content: "content-Xi_QTu",
|
|
4
|
-
viewport: "viewport-EJrpcl",
|
|
5
|
-
group: "group-gZB9XW",
|
|
6
|
-
"scroll-button": "scroll-button-ugUv7N",
|
|
7
|
-
scrollButton: "scroll-button-ugUv7N",
|
|
8
|
-
"select-item": "select-item-PN2sc4",
|
|
9
|
-
selectItem: "select-item-PN2sc4",
|
|
10
|
-
"select-item-indicator": "select-item-indicator-k_g4AD",
|
|
11
|
-
selectItemIndicator: "select-item-indicator-k_g4AD"
|
|
12
|
-
};
|
|
13
|
-
export { select_module as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography, infonomic-components;
|
|
2
|
-
|
|
3
|
-
@layer infonomic-components {
|
|
4
|
-
.text {
|
|
5
|
-
font-size: 0.875rem;
|
|
6
|
-
color: var(--gray-800)
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/* 🌙 Dark via `.dark` class. We rely on the
|
|
10
|
-
* consuming application to detect a user's preferred
|
|
11
|
-
* color scheme - either by header or cookie, and set
|
|
12
|
-
* a root html class accordingly
|
|
13
|
-
*/
|
|
14
|
-
:global(.dark) {
|
|
15
|
-
.text:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
16
|
-
color: var(--gray-300);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|