@infonomic/uikit 3.1.0 → 3.3.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 +172 -5
- 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/{input → forms}/help-text_module.css +1 -1
- 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 +8 -8
- 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/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/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/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/{calendar → forms}/calendar.stories.tsx +1 -1
- package/src/components/{input → forms}/checkbox.stories.tsx +1 -1
- 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.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/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/widgets/datepicker/datepicker.tsx +4 -3
- 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/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/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.module.css +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.module.css +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
package/dist/react.d.ts
CHANGED
|
@@ -12,23 +12,23 @@ export * from './components/button/button-group.js';
|
|
|
12
12
|
export * from './components/button/control-buttons.js';
|
|
13
13
|
export * from './components/button/copy-button.js';
|
|
14
14
|
export * from './components/button/icon-button.js';
|
|
15
|
-
export * from './components/calendar/calendar.js';
|
|
16
15
|
export * from './components/card/card.js';
|
|
17
16
|
export * from './components/container/container.js';
|
|
18
17
|
export * from './components/dropdown/dropdown.js';
|
|
19
18
|
export * from './components/hamburger/hamburger.js';
|
|
20
|
-
export * from './components/
|
|
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/input
|
|
28
|
-
export * from './components/
|
|
29
|
-
export * from './components/
|
|
30
|
-
export * from './components/
|
|
31
|
-
export * from './components/
|
|
19
|
+
export * from './components/forms/calendar.js';
|
|
20
|
+
export * from './components/forms/checkbox.js';
|
|
21
|
+
export * from './components/forms/checkbox-group.js';
|
|
22
|
+
export * from './components/forms/error-text.js';
|
|
23
|
+
export * from './components/forms/errors.js';
|
|
24
|
+
export * from './components/forms/help-text.js';
|
|
25
|
+
export * from './components/forms/input.js';
|
|
26
|
+
export * from './components/forms/input-adornment.js';
|
|
27
|
+
export * from './components/forms/label.js';
|
|
28
|
+
export * from './components/forms/radio-group.js';
|
|
29
|
+
export * from './components/forms/select.js';
|
|
30
|
+
export * from './components/forms/text-area.js';
|
|
31
|
+
export * from './components/forms/utils.js';
|
|
32
32
|
export * from './components/notifications/alert.js';
|
|
33
33
|
export * from './components/notifications/toast.js';
|
|
34
34
|
export * from './components/pager/pagination.js';
|
package/dist/react.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,+BAA+B,CAAA;AAE7C,cAAc,qCAAqC,CAAA;AACnD,cAAc,wCAAwC,CAAA;AACtD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,qCAAqC,CAAA;AACnD,cAAc,wCAAwC,CAAA;AACtD,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"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"}
|
package/dist/react.js
CHANGED
|
@@ -8,23 +8,23 @@ export * from "./components/button/button-group.js";
|
|
|
8
8
|
export * from "./components/button/control-buttons.js";
|
|
9
9
|
export * from "./components/button/copy-button.js";
|
|
10
10
|
export * from "./components/button/icon-button.js";
|
|
11
|
-
export * from "./components/calendar/calendar.js";
|
|
12
11
|
export * from "./components/card/card.js";
|
|
13
12
|
export * from "./components/container/container.js";
|
|
14
13
|
export * from "./components/dropdown/dropdown.js";
|
|
15
14
|
export * from "./components/hamburger/hamburger.js";
|
|
16
|
-
export * from "./components/
|
|
17
|
-
export * from "./components/
|
|
18
|
-
export * from "./components/
|
|
19
|
-
export * from "./components/
|
|
20
|
-
export * from "./components/
|
|
21
|
-
export * from "./components/
|
|
22
|
-
export * from "./components/
|
|
23
|
-
export * from "./components/input
|
|
24
|
-
export * from "./components/
|
|
25
|
-
export * from "./components/
|
|
26
|
-
export * from "./components/
|
|
27
|
-
export * from "./components/
|
|
15
|
+
export * from "./components/forms/calendar.js";
|
|
16
|
+
export * from "./components/forms/checkbox.js";
|
|
17
|
+
export * from "./components/forms/checkbox-group.js";
|
|
18
|
+
export * from "./components/forms/error-text.js";
|
|
19
|
+
export * from "./components/forms/errors.js";
|
|
20
|
+
export * from "./components/forms/help-text.js";
|
|
21
|
+
export * from "./components/forms/input.js";
|
|
22
|
+
export * from "./components/forms/input-adornment.js";
|
|
23
|
+
export * from "./components/forms/label.js";
|
|
24
|
+
export * from "./components/forms/radio-group.js";
|
|
25
|
+
export * from "./components/forms/select.js";
|
|
26
|
+
export * from "./components/forms/text-area.js";
|
|
27
|
+
export * from "./components/forms/utils.js";
|
|
28
28
|
export * from "./components/notifications/alert.js";
|
|
29
29
|
export * from "./components/notifications/toast.js";
|
|
30
30
|
export * from "./components/pager/pagination.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { Intent, Size, Variant } from '../../components/
|
|
2
|
+
import type { Intent, Size, Variant } from '../../components/forms/@types/input.js';
|
|
3
3
|
export interface DatePickerProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datepicker.d.ts","sourceRoot":"","sources":["../../../src/widgets/datepicker/datepicker.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"datepicker.d.ts","sourceRoot":"","sources":["../../../src/widgets/datepicker/datepicker.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAA;AAMnF,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAClF,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAA;IAC3C,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK;QAC7B,KAAK,EAAE,OAAO,CAAA;QACd,KAAK,EAAE,IAAI,CAAA;KACZ,CAAA;IACD,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,wBAAgB,UAAU,CAAC,EACzB,EAAE,EACF,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,IAAiB,EACjB,aAAiB,EACjB,WAAgB,EAChB,OAAO,EACP,MAAM,EACN,SAAS,EACT,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,OAAkB,EAClB,YAAuB,EACvB,WAAW,EACX,QAAQ,EACR,SAAS,EACT,eAAoB,EACpB,kBAA2B,EAC3B,iBAA2B,EAC3B,GAAG,IAAI,EACR,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0OrC"}
|
|
@@ -6,8 +6,9 @@ import { Popover } from "radix-ui";
|
|
|
6
6
|
import { useEffect, useRef, useState } from "react";
|
|
7
7
|
import { Button } from "../../components/button/button.js";
|
|
8
8
|
import { IconButton } from "../../components/button/icon-button.js";
|
|
9
|
-
import { Calendar } from "../../components/
|
|
10
|
-
import { Input
|
|
9
|
+
import { Calendar } from "../../components/forms/calendar.js";
|
|
10
|
+
import { Input } from "../../components/forms/input.js";
|
|
11
|
+
import { InputAdornment } from "../../components/forms/input-adornment.js";
|
|
11
12
|
import { ScrollArea } from "../../components/scroll-area/scroll-area.js";
|
|
12
13
|
import { CalendarIcon } from "../../icons/calendar-icon.js";
|
|
13
14
|
import { CloseIcon } from "../../icons/close-icon.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { ClassName, Intent, Size, Variant } from '../../components/
|
|
2
|
+
import type { ClassName, Intent, Size, Variant } from '../../components/forms/@types/input.js';
|
|
3
3
|
export interface SearchProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
4
|
variant?: Variant;
|
|
5
5
|
inputSize?: Size;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/widgets/search/search.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/widgets/search/search.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAA;AAG9F,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC9E,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,IAAI,CAAA;IAChB,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK;QAC/B,KAAK,EAAE,OAAO,CAAA;QACd,KAAK,EAAE,GAAG,CAAA;KACX,CAAA;IACD,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAgBD,wBAAgB,MAAM,CAAC,EACrB,OAAO,EACP,SAAS,EACT,cAAc,EACd,MAAM,EACN,SAAS,EACT,OAAO,EACP,OAAO,EACP,QAAQ,EACR,WAAW,EACX,eAA0B,EAC1B,kBAA6B,EAC7B,iBAA2B,EAC3B,GAAG,IAAI,EACR,EAAE,WAAW,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiIjC"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { IconButton } from "../../components/button/index.js";
|
|
5
|
-
import { Input
|
|
5
|
+
import { Input } from "../../components/forms/input.js";
|
|
6
|
+
import { InputAdornment } from "../../components/forms/input-adornment.js";
|
|
6
7
|
import { CloseIcon, SearchIcon } from "../../icons/index.js";
|
|
7
8
|
function fallbackSearchHandler(value) {
|
|
8
9
|
const url = new URL(window.location.href);
|
package/package.json
CHANGED
package/src/astro.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ import type CardHeaderComponent from './components/card/card-header.astro'
|
|
|
8
8
|
import type CardTitleComponent from './components/card/card-title.astro'
|
|
9
9
|
import type ContainerComponent from './components/container/container.astro'
|
|
10
10
|
import type HamburgerComponent from './components/hamburger/hamburger.astro'
|
|
11
|
-
import type ErrorTextComponent from './components/
|
|
12
|
-
import type HelpTextComponent from './components/
|
|
13
|
-
import type InputComponent from './components/
|
|
14
|
-
import type InputAdornmentComponent from './components/
|
|
15
|
-
import type LabelComponent from './components/
|
|
11
|
+
import type ErrorTextComponent from './components/forms/error-text.astro'
|
|
12
|
+
import type HelpTextComponent from './components/forms/help-text.astro'
|
|
13
|
+
import type InputComponent from './components/forms/input.astro'
|
|
14
|
+
import type InputAdornmentComponent from './components/forms/input-adornment.astro'
|
|
15
|
+
import type LabelComponent from './components/forms/label.astro'
|
|
16
16
|
import type SectionComponent from './components/section/section.astro'
|
|
17
17
|
import type CloseIconComponent from './icons/close-icon.astro'
|
|
18
18
|
import type IconElementComponent from './icons/icon-element.astro'
|
package/src/astro.js
CHANGED
|
@@ -8,11 +8,11 @@ import CardHeaderComponent from './components/card/card-header.astro'
|
|
|
8
8
|
import CardTitleComponent from './components/card/card-title.astro'
|
|
9
9
|
import ContainerComponent from './components/container/container.astro'
|
|
10
10
|
import HamburgerComponent from './components/hamburger/hamburger.astro'
|
|
11
|
-
import ErrorTextComponent from './components/
|
|
12
|
-
import HelpTextComponent from './components/
|
|
13
|
-
import InputComponent from './components/
|
|
14
|
-
import InputAdornmentComponent from './components/
|
|
15
|
-
import LabelComponent from './components/
|
|
11
|
+
import ErrorTextComponent from './components/forms/error-text.astro'
|
|
12
|
+
import HelpTextComponent from './components/forms/help-text.astro'
|
|
13
|
+
import InputComponent from './components/forms/input.astro'
|
|
14
|
+
import InputAdornmentComponent from './components/forms/input-adornment.astro'
|
|
15
|
+
import LabelComponent from './components/forms/label.astro'
|
|
16
16
|
import SectionComponent from './components/section/section.astro'
|
|
17
17
|
import CloseIconComponent from './icons/close-icon.astro'
|
|
18
18
|
import IconElementComponent from './icons/icon-element.astro'
|
|
@@ -10,7 +10,7 @@ const meta: Meta<typeof CalendarComponent> = {
|
|
|
10
10
|
* See https://storybook.js.org/docs/react/configure/overview#configure-story-loading
|
|
11
11
|
* to learn how to generate automatic titles
|
|
12
12
|
*/
|
|
13
|
-
title: 'Components/
|
|
13
|
+
title: 'Components/Forms/Calendar',
|
|
14
14
|
component: CalendarComponent,
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -8,7 +8,7 @@ const meta: Meta = {
|
|
|
8
8
|
* See https://storybook.js.org/docs/react/configure/overview#configure-story-loading
|
|
9
9
|
* to learn how to generate automatic titles
|
|
10
10
|
*/
|
|
11
|
-
title: 'Components/
|
|
11
|
+
title: 'Components/Forms/RadioGroup',
|
|
12
12
|
component: RadioGroupComponent,
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -32,7 +32,7 @@ const values3: RadioGroupValue[] = [
|
|
|
32
32
|
{ id: 'rg9', label: 'Three', value: '3' },
|
|
33
33
|
]
|
|
34
34
|
|
|
35
|
-
export const
|
|
35
|
+
export const Default = (): React.JSX.Element => {
|
|
36
36
|
return (
|
|
37
37
|
<>
|
|
38
38
|
<div style={{ maxWidth: '600px', margin: '2rem auto' }}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
type FormattedErrors = z.
|
|
3
|
+
type FormattedErrors = z.ZodFormattedError<any>
|
|
4
4
|
|
|
5
5
|
export function hasErrors(name: string, clientErrors: any, serverErrors: any): boolean {
|
|
6
6
|
return Boolean(serverErrors?.[name as keyof typeof serverErrors] ?? clientErrors[name])
|
|
@@ -10,7 +10,7 @@ export const ActivityIcon = ({
|
|
|
10
10
|
svgClassName,
|
|
11
11
|
...rest
|
|
12
12
|
}: IconProps): React.JSX.Element => {
|
|
13
|
-
const applied = cx(styles['fill-none'], styles['stroke-
|
|
13
|
+
const applied = cx(styles['fill-none'], styles['stroke-current'], svgClassName)
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
16
|
<IconElement className={cx('activity-icon', className)} {...rest}>
|
|
@@ -13,7 +13,7 @@ export const CalendarIcon = ({
|
|
|
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'], svgClassName)
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<IconElement className={cx('calendar-icon', className)} {...rest}>
|
package/src/icons/check-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 CheckIcon = ({ 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('check-icon', className)} {...rest}>
|
|
@@ -13,7 +13,7 @@ export const ChevronDownIcon = ({
|
|
|
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'], svgClassName)
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<IconElement className={cx('chevron-down-icon', className)} {...rest}>
|
|
@@ -31,7 +31,7 @@ export const ChevronLeftDoubleIcon = ({
|
|
|
31
31
|
svgClassName,
|
|
32
32
|
...rest
|
|
33
33
|
}: IconProps): React.JSX.Element => {
|
|
34
|
-
const applied = cx(styles['fill-
|
|
34
|
+
const applied = cx(styles['fill-current'], svgClassName)
|
|
35
35
|
|
|
36
36
|
return (
|
|
37
37
|
<IconElement className={cx('chevron-left-double-icon', className)} {...rest}>
|
|
@@ -31,7 +31,7 @@ export const ChevronLeftIcon = ({
|
|
|
31
31
|
svgClassName,
|
|
32
32
|
...rest
|
|
33
33
|
}: IconProps): React.JSX.Element => {
|
|
34
|
-
const applied = cx(styles['fill-
|
|
34
|
+
const applied = cx(styles['fill-current'], svgClassName)
|
|
35
35
|
|
|
36
36
|
return (
|
|
37
37
|
<IconElement className={cx('chevron-left-icon', className)} {...rest}>
|
|
@@ -31,7 +31,7 @@ export const ChevronRightDoubleIcon = ({
|
|
|
31
31
|
svgClassName,
|
|
32
32
|
...rest
|
|
33
33
|
}: IconProps): React.JSX.Element => {
|
|
34
|
-
const applied = cx(styles['fill-
|
|
34
|
+
const applied = cx(styles['fill-current'], svgClassName)
|
|
35
35
|
|
|
36
36
|
return (
|
|
37
37
|
<IconElement className={cx('chevron-right-double-icon', className)} {...rest}>
|
|
@@ -31,7 +31,7 @@ export const ChevronRightIcon = ({
|
|
|
31
31
|
svgClassName,
|
|
32
32
|
...rest
|
|
33
33
|
}: IconProps): React.JSX.Element => {
|
|
34
|
-
const applied = cx(styles['fill-
|
|
34
|
+
const applied = cx(styles['fill-current'], svgClassName)
|
|
35
35
|
|
|
36
36
|
return (
|
|
37
37
|
<IconElement className={cx('chevron-right-icon', className)} {...rest}>
|
|
@@ -10,7 +10,7 @@ export const ChevronsUpDown = ({
|
|
|
10
10
|
svgClassName,
|
|
11
11
|
...rest
|
|
12
12
|
}: IconProps): React.JSX.Element => {
|
|
13
|
-
const applied = cx(styles['stroke-
|
|
13
|
+
const applied = cx(styles['stroke-current'], svgClassName)
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
16
|
<IconElement className={cx('chevrons-up-down', className)} {...rest}>
|
|
@@ -25,7 +25,7 @@ const { class: className, width, height, svgClass: svgClassName, menuItem, ...re
|
|
|
25
25
|
<svg
|
|
26
26
|
xmlns="http://www.w3.org/2000/svg"
|
|
27
27
|
viewBox="0 0 15 15"
|
|
28
|
-
class:list={[styles['fill-
|
|
28
|
+
class:list={[styles['fill-current'], svgClassName]}
|
|
29
29
|
focusable="false"
|
|
30
30
|
aria-hidden="true"
|
|
31
31
|
{...rest}
|
|
@@ -13,7 +13,7 @@ export const DashboardIcon = ({
|
|
|
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('dashboard-icon', className)} {...rest}>
|
|
@@ -13,7 +13,7 @@ export const DocumentIcon = ({
|
|
|
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('document-icon', className)} {...rest}>
|
|
@@ -13,7 +13,7 @@ export const DownloadIcon = ({
|
|
|
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'], svgClassName)
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<IconElement className={cx('download-icon', className)} {...rest}>
|
package/src/icons/edit-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 EditIcon = ({ 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('edit-icon', className)} {...rest}>
|
|
@@ -13,7 +13,7 @@ export const EllipsisIcon = ({
|
|
|
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('ellipsis-icon', className)} {...rest}>
|
package/src/icons/email-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 EmailIcon = ({ 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('email-icon', className)} {...rest}>
|
|
@@ -6,7 +6,7 @@ import styles from './icons.module.css'
|
|
|
6
6
|
import type { IconProps } from './types/icon.js'
|
|
7
7
|
|
|
8
8
|
export const GithubIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
9
|
-
const applied = cx(styles['fill-
|
|
9
|
+
const applied = cx(styles['fill-current'], svgClassName)
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
12
|
<IconElement className={cx('github-icon', className)} {...rest}>
|
package/src/icons/globe-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 GlobeIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
12
|
-
const applied = cx(styles['fill-
|
|
12
|
+
const applied = cx(styles['fill-current'], styles['stroke-none'], svgClassName)
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<IconElement className={cx('globe-icon flex items-center justify-center', className)} {...rest}>
|
|
@@ -13,7 +13,7 @@ export const GripperVerticalIcon = ({
|
|
|
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('gripper-vertical-icon', className)} {...rest}>
|
|
@@ -6,7 +6,7 @@ import styles from './icons.module.css'
|
|
|
6
6
|
import type { IconProps } from './types/icon.js'
|
|
7
7
|
|
|
8
8
|
export const HistoryIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
9
|
-
const applied = cx(styles['stroke-
|
|
9
|
+
const applied = cx(styles['stroke-current'], svgClassName)
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
12
|
<IconElement className={cx('history-icon', className)} {...rest}>
|
package/src/icons/home-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 HomeIcon = ({ 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('home-icon', className)} {...rest}>
|
|
@@ -25,7 +25,7 @@ const { class: className, width, height, svgClass: svgClassName, menuItem, ...re
|
|
|
25
25
|
<svg
|
|
26
26
|
xmlns="http://www.w3.org/2000/svg"
|
|
27
27
|
viewBox="0 0 24 24"
|
|
28
|
-
class:list={[styles['fill-
|
|
28
|
+
class:list={[styles['fill-current'], styles['stroke-none'], svgClassName]}
|
|
29
29
|
focusable="false"
|
|
30
30
|
aria-hidden="true"
|
|
31
31
|
>
|
package/src/icons/light-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 LightIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
12
|
-
const applied = cx(styles['fill-
|
|
12
|
+
const applied = cx(styles['fill-current'], styles['stroke-none'], svgClassName)
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<IconElement className={cx('light-icon', className)} {...rest}>
|
|
@@ -25,7 +25,7 @@ const { class: className, width, height, svgClass: svgClassName, menuItem, ...re
|
|
|
25
25
|
<svg
|
|
26
26
|
xmlns="http://www.w3.org/2000/svg"
|
|
27
27
|
viewBox="0 0 24 24"
|
|
28
|
-
class:list={[styles['fill-none'], styles['stroke-
|
|
28
|
+
class:list={[styles['fill-none'], styles['stroke-current'], svgClassName]}
|
|
29
29
|
focusable="false"
|
|
30
30
|
aria-hidden="true"
|
|
31
31
|
stroke-linecap="round"
|
package/src/icons/moon-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 MoonIcon = ({ 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('moon-icon', className)} {...rest}>
|
package/src/icons/plus-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 PlusIcon = ({ 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('plus-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 RefreshIcon = ({ 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('refresh-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 ReturnIcon = ({ 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('return-icon', className)} {...rest}>
|
package/src/icons/roles-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 RolesIcon = ({ 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('roles-icon', className)} {...rest}>
|
|
@@ -25,7 +25,7 @@ const { class: className, width, height, svgClass: svgClassName, menuItem, ...re
|
|
|
25
25
|
<svg
|
|
26
26
|
xmlns="http://www.w3.org/2000/svg"
|
|
27
27
|
viewBox="0 0 24 24"
|
|
28
|
-
class:list={[styles['fill-
|
|
28
|
+
class:list={[styles['fill-current'], styles['stroke-none'], svgClassName]}
|
|
29
29
|
focusable="false"
|
|
30
30
|
aria-hidden="true"
|
|
31
31
|
stroke-linecap="round"
|
|
@@ -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 SearchIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
|
|
12
|
-
const applied = cx(styles['fill-
|
|
12
|
+
const applied = cx(styles['fill-current'], styles['stroke-none'], svgClassName)
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<IconElement className={cx('search-icon', className)} {...rest}>
|
|
@@ -13,7 +13,7 @@ export const SettingsGearIcon = ({
|
|
|
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-gear-icon', className)} {...rest}>
|