smarthr-ui 45.2.0 → 46.0.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.
Files changed (80) hide show
  1. package/esm/components/ComboBox/SingleComboBox.js +2 -2
  2. package/esm/components/ComboBox/SingleComboBox.js.map +1 -1
  3. package/esm/components/Dialog/DialogContentInner.js +3 -3
  4. package/esm/components/Dialog/DialogContentInner.js.map +1 -1
  5. package/esm/components/Dialog/RemoteTriggerFormDialog/RemoteTriggerFormDialog.js +4 -3
  6. package/esm/components/Dialog/RemoteTriggerFormDialog/RemoteTriggerFormDialog.js.map +1 -1
  7. package/esm/components/Dialog/useBodyScrollLock.d.ts +1 -0
  8. package/esm/components/Dialog/useBodyScrollLock.js +26 -0
  9. package/esm/components/Dialog/useBodyScrollLock.js.map +1 -0
  10. package/esm/components/Dropdown/SortDropdown/SortDropdown.d.ts +23 -0
  11. package/esm/components/Dropdown/SortDropdown/SortDropdown.js +39 -0
  12. package/esm/components/Dropdown/SortDropdown/SortDropdown.js.map +1 -0
  13. package/esm/components/Dropdown/SortDropdown/index.d.ts +1 -0
  14. package/esm/components/Dropdown/SortDropdown/index.js +2 -0
  15. package/esm/components/Dropdown/SortDropdown/index.js.map +1 -0
  16. package/esm/components/Dropdown/SortDropdown/style.d.ts +53 -0
  17. package/esm/components/Dropdown/SortDropdown/style.js +9 -0
  18. package/esm/components/Dropdown/SortDropdown/style.js.map +1 -0
  19. package/esm/components/Dropdown/SortDropdown/useSortDropdown.d.ts +38 -0
  20. package/esm/components/Dropdown/SortDropdown/useSortDropdown.js +78 -0
  21. package/esm/components/Dropdown/SortDropdown/useSortDropdown.js.map +1 -0
  22. package/esm/components/Dropdown/index.d.ts +1 -0
  23. package/esm/components/Dropdown/index.js +1 -0
  24. package/esm/components/Dropdown/index.js.map +1 -1
  25. package/esm/components/Header/AppLauncher/AppLauncher.js +1 -1
  26. package/esm/components/Header/AppLauncher/AppLauncher.js.map +1 -1
  27. package/esm/components/Icon/DeprecatedIcon.d.ts +0 -296
  28. package/esm/components/Icon/DeprecatedIcon.js +61 -358
  29. package/esm/components/Icon/DeprecatedIcon.js.map +1 -1
  30. package/esm/components/Icon/Icon.d.ts +2 -159
  31. package/esm/components/Icon/Icon.js +3 -160
  32. package/esm/components/Icon/Icon.js.map +1 -1
  33. package/esm/index.d.ts +1 -1
  34. package/esm/index.js +1 -1
  35. package/esm/index.js.map +1 -1
  36. package/esm/libs/util.d.ts +1 -1
  37. package/lib/components/ComboBox/SingleComboBox.js +2 -2
  38. package/lib/components/ComboBox/SingleComboBox.js.map +1 -1
  39. package/lib/components/Dialog/DialogContentInner.js +3 -3
  40. package/lib/components/Dialog/DialogContentInner.js.map +1 -1
  41. package/lib/components/Dialog/RemoteTriggerFormDialog/RemoteTriggerFormDialog.js +4 -3
  42. package/lib/components/Dialog/RemoteTriggerFormDialog/RemoteTriggerFormDialog.js.map +1 -1
  43. package/lib/components/Dialog/useBodyScrollLock.d.ts +1 -0
  44. package/lib/components/Dialog/useBodyScrollLock.js +30 -0
  45. package/lib/components/Dialog/useBodyScrollLock.js.map +1 -0
  46. package/lib/components/Dropdown/SortDropdown/SortDropdown.d.ts +23 -0
  47. package/lib/components/Dropdown/SortDropdown/SortDropdown.js +46 -0
  48. package/lib/components/Dropdown/SortDropdown/SortDropdown.js.map +1 -0
  49. package/lib/components/Dropdown/SortDropdown/index.d.ts +1 -0
  50. package/lib/components/Dropdown/SortDropdown/index.js +6 -0
  51. package/lib/components/Dropdown/SortDropdown/index.js.map +1 -0
  52. package/lib/components/Dropdown/SortDropdown/style.d.ts +53 -0
  53. package/lib/components/Dropdown/SortDropdown/style.js +12 -0
  54. package/lib/components/Dropdown/SortDropdown/style.js.map +1 -0
  55. package/lib/components/Dropdown/SortDropdown/useSortDropdown.d.ts +38 -0
  56. package/lib/components/Dropdown/SortDropdown/useSortDropdown.js +82 -0
  57. package/lib/components/Dropdown/SortDropdown/useSortDropdown.js.map +1 -0
  58. package/lib/components/Dropdown/index.d.ts +1 -0
  59. package/lib/components/Dropdown/index.js +3 -1
  60. package/lib/components/Dropdown/index.js.map +1 -1
  61. package/lib/components/Header/AppLauncher/AppLauncher.js +1 -1
  62. package/lib/components/Header/AppLauncher/AppLauncher.js.map +1 -1
  63. package/lib/components/Icon/DeprecatedIcon.d.ts +0 -296
  64. package/lib/components/Icon/DeprecatedIcon.js +63 -361
  65. package/lib/components/Icon/DeprecatedIcon.js.map +1 -1
  66. package/lib/components/Icon/Icon.d.ts +2 -159
  67. package/lib/components/Icon/Icon.js +6 -166
  68. package/lib/components/Icon/Icon.js.map +1 -1
  69. package/lib/index.d.ts +1 -1
  70. package/lib/index.js +4 -3
  71. package/lib/index.js.map +1 -1
  72. package/lib/libs/util.d.ts +1 -1
  73. package/package.json +30 -23
  74. package/smarthr-ui.css +8 -4
  75. package/esm/components/Dialog/BodyScrollSuppressor.d.ts +0 -2
  76. package/esm/components/Dialog/BodyScrollSuppressor.js +0 -30
  77. package/esm/components/Dialog/BodyScrollSuppressor.js.map +0 -1
  78. package/lib/components/Dialog/BodyScrollSuppressor.d.ts +0 -2
  79. package/lib/components/Dialog/BodyScrollSuppressor.js +0 -57
  80. package/lib/components/Dialog/BodyScrollSuppressor.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteTriggerFormDialog.js","sourceRoot":"","sources":["../../../../src/components/Dialog/RemoteTriggerFormDialog/RemoteTriggerFormDialog.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AAEzB,8CAA0C;AAC1C,0DAAsD;AAK/C,MAAM,uBAAuB,GAAoB,CAAC,EACvD,EAAE,EACF,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,kBAAkB,EAAE,GAAG,IAAA,mCAAgB,EAAC;QACpE,EAAE;QACF,YAAY;QACZ,QAAQ;QACR,MAAM;QACN,OAAO;KACR,CAAC,CAAA;IAEF,OAAO,8BAAC,uBAAU,OAAK,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,kBAAkB,GAAI,CAAA;AAC5F,CAAC,CAAA;AAjBY,QAAA,uBAAuB,2BAiBnC"}
1
+ {"version":3,"file":"RemoteTriggerFormDialog.js","sourceRoot":"","sources":["../../../../src/components/Dialog/RemoteTriggerFormDialog/RemoteTriggerFormDialog.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AAEzB,8CAA0C;AAC1C,0DAAsD;AAK/C,MAAM,uBAAuB,GAAoB,CAAC,EACvD,EAAE,EACF,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,OAAO,EACP,aAAa,EACb,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EACJ,MAAM,EACN,YAAY,EAAE,kBAAkB,EAChC,aAAa,EAAE,mBAAmB,GACnC,GAAG,IAAA,mCAAgB,EAAC;QACnB,EAAE;QACF,YAAY;QACZ,aAAa;QACb,QAAQ;QACR,MAAM;QACN,OAAO;KACR,CAAC,CAAA;IAEF,OAAO,CACL,8BAAC,uBAAU,OACL,KAAK,EACT,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,kBAAkB,EAChC,aAAa,EAAE,mBAAmB,GAClC,CACH,CAAA;AACH,CAAC,CAAA;AA/BY,QAAA,uBAAuB,2BA+BnC"}
@@ -0,0 +1 @@
1
+ export declare const useBodyScrollLock: () => void;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useBodyScrollLock = void 0;
4
+ const react_1 = require("react");
5
+ const useBodyScrollLock = () => {
6
+ const [scrollBarWidth, setScrollBarWidth] = (0, react_1.useState)(null);
7
+ const [paddingRight, setPaddingRight] = (0, react_1.useState)(null);
8
+ (0, react_1.useEffect)(() => {
9
+ setScrollBarWidth(window.innerWidth - document.body.clientWidth);
10
+ }, []);
11
+ (0, react_1.useEffect)(() => {
12
+ if (scrollBarWidth === null) {
13
+ return;
14
+ }
15
+ const originalPaddingRight = getComputedStyle(document.body).getPropertyValue('padding-right');
16
+ setPaddingRight(scrollBarWidth + parseInt(originalPaddingRight, 10));
17
+ }, [scrollBarWidth]);
18
+ (0, react_1.useEffect)(() => {
19
+ if (paddingRight !== null) {
20
+ document.body.style.paddingInlineEnd = `${paddingRight}px`;
21
+ }
22
+ document.body.style.overflow = 'hidden';
23
+ return () => {
24
+ document.body.style.paddingInlineEnd = '';
25
+ document.body.style.overflow = '';
26
+ };
27
+ }, [paddingRight]);
28
+ };
29
+ exports.useBodyScrollLock = useBodyScrollLock;
30
+ //# sourceMappingURL=useBodyScrollLock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBodyScrollLock.js","sourceRoot":"","sources":["../../../src/components/Dialog/useBodyScrollLock.ts"],"names":[],"mappings":";;;AAAA,iCAA2C;AAEpC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAgB,IAAI,CAAC,CAAA;IACzE,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAgB,IAAI,CAAC,CAAA;IAErE,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,iBAAiB,CAAC,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IAClE,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;YAC5B,OAAM;QACR,CAAC;QACD,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAA;QAC9F,eAAe,CAAC,cAAc,GAAG,QAAQ,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC,CAAA;IACtE,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAA;IAEpB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;YAC1B,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB,GAAG,GAAG,YAAY,IAAI,CAAA;QAC5D,CAAC;QACD,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAA;QAEvC,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB,GAAG,EAAE,CAAA;YACzC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,EAAE,CAAA;QACnC,CAAC,CAAA;IACH,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAA;AACpB,CAAC,CAAA;AA3BY,QAAA,iBAAiB,qBA2B7B"}
@@ -0,0 +1,23 @@
1
+ import { ComponentProps, ComponentPropsWithRef } from 'react';
2
+ import { type FC, type MouseEventHandler } from 'react';
3
+ import { Select } from '../../Select';
4
+ import type { DecoratorsType } from '../../../types';
5
+ type ArgsOnApply = {
6
+ field: string;
7
+ order: 'asc' | 'desc';
8
+ newfields: ComponentProps<typeof Select>['options'];
9
+ };
10
+ type Props = {
11
+ /** 並び替え項目 */
12
+ sortFields: ComponentProps<typeof Select>['options'];
13
+ /** 並び順の初期値 */
14
+ defaultOrder: 'asc' | 'desc';
15
+ /** 適用時に発火するイベント */
16
+ onApply: (args: ArgsOnApply) => void;
17
+ /** キャンセル時に発火するイベント */
18
+ onCancel?: MouseEventHandler<HTMLButtonElement>;
19
+ decorators?: DecoratorsType<'sortFieldLabel' | 'sortOrderLabel' | 'ascLabel' | 'descLabel' | 'applyButtonLabel' | 'cancelButtonLabel'>;
20
+ };
21
+ type ElementProps = Omit<ComponentPropsWithRef<'button'>, keyof Props>;
22
+ export declare const SortDropdown: FC<Props & ElementProps>;
23
+ export {};
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SortDropdown = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const Button_1 = require("../../Button");
9
+ const FormControl_1 = require("../../FormControl");
10
+ const Layout_1 = require("../../Layout");
11
+ const NewFieldset_1 = require("../../NewFieldset");
12
+ const RadioButton_1 = require("../../RadioButton");
13
+ const Select_1 = require("../../Select");
14
+ const Dropdown_1 = require("../Dropdown");
15
+ const DropdownCloser_1 = require("../DropdownCloser");
16
+ const DropdownContent_1 = require("../DropdownContent");
17
+ const DropdownScrollArea_1 = require("../DropdownScrollArea");
18
+ const DropdownTrigger_1 = require("../DropdownTrigger");
19
+ const useSortDropdown_1 = require("./useSortDropdown");
20
+ const SortDropdown = ({ sortFields, defaultOrder, onApply, onCancel, decorators, ...props }) => {
21
+ const { labels: { triggerLabel, sortFieldLabel, sortOrderLabel, ascLabel, descLabel, applyButtonLabel, cancelButtonLabel, }, SortIcon, setCheckedInnerOrder, innerValues: { innerFields, innerCheckedOrder }, handler: { handleApply, handleChange }, styles: { bodyStyle, selectStyle, footerStyle }, } = (0, useSortDropdown_1.useSortDropdown)({
22
+ sortFields,
23
+ defaultOrder,
24
+ onApply,
25
+ decorators,
26
+ });
27
+ return (react_1.default.createElement(Dropdown_1.Dropdown, null,
28
+ react_1.default.createElement(DropdownTrigger_1.DropdownTrigger, null,
29
+ react_1.default.createElement(Button_1.Button, { ...props, suffix: react_1.default.createElement(SortIcon, null) }, triggerLabel)),
30
+ react_1.default.createElement(DropdownContent_1.DropdownContent, { controllable: true },
31
+ react_1.default.createElement(DropdownScrollArea_1.DropdownScrollArea, null,
32
+ react_1.default.createElement(Layout_1.Stack, { className: bodyStyle },
33
+ react_1.default.createElement(FormControl_1.FormControl, { title: sortFieldLabel },
34
+ react_1.default.createElement(Select_1.Select, { name: "sortFields", options: innerFields, onChange: handleChange, className: selectStyle })),
35
+ react_1.default.createElement(NewFieldset_1.Fieldset, { title: sortOrderLabel, innerMargin: 0.5 },
36
+ react_1.default.createElement(Layout_1.Cluster, { gap: 1.25 },
37
+ react_1.default.createElement(RadioButton_1.RadioButton, { name: "sortOrder", value: "asc", defaultChecked: innerCheckedOrder === 'asc', onChange: () => setCheckedInnerOrder('asc') }, ascLabel),
38
+ react_1.default.createElement(RadioButton_1.RadioButton, { name: "sortOrder", value: "desc", defaultChecked: innerCheckedOrder === 'desc', onChange: () => setCheckedInnerOrder('desc') }, descLabel)))),
39
+ react_1.default.createElement(Layout_1.Cluster, { gap: 1, align: "center", justify: "flex-end", as: "footer", className: footerStyle },
40
+ react_1.default.createElement(DropdownCloser_1.DropdownCloser, null,
41
+ react_1.default.createElement(Button_1.Button, { onClick: onCancel }, cancelButtonLabel)),
42
+ react_1.default.createElement(DropdownCloser_1.DropdownCloser, null,
43
+ react_1.default.createElement(Button_1.Button, { variant: "primary", onClick: handleApply }, applyButtonLabel)))))));
44
+ };
45
+ exports.SortDropdown = SortDropdown;
46
+ //# sourceMappingURL=SortDropdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortDropdown.js","sourceRoot":"","sources":["../../../../src/components/Dropdown/SortDropdown/SortDropdown.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAoE;AAGpE,yCAAqC;AACrC,mDAA+C;AAC/C,yCAA6C;AAC7C,mDAA4C;AAC5C,mDAA+C;AAC/C,yCAAqC;AACrC,0CAAsC;AACtC,sDAAkD;AAClD,wDAAoD;AACpD,8DAA0D;AAC1D,wDAAoD;AAEpD,uDAAmD;AA8B5C,MAAM,YAAY,GAA6B,CAAC,EACrD,UAAU,EACV,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EACJ,MAAM,EAAE,EACN,YAA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oB,CAAC,MAAM,CAAC,IAE3C,SAAS,CACE,CACN,CACD,CACL;gBACR,8BAAC,gBAAO,IAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAC,UAAU,EAAC,EAAE,EAAC,QAAQ,EAAC,SAAS,EAAE,WAAW;oBACnF,8BAAC,+BAAc;wBACb,8BAAC,eAAM,IAAC,OAAO,EAAE,QAAQ,IAAG,iBAAiB,CAAU,CACxC;oBACjB,8BAAC,+BAAc;wBACb,8BAAC,eAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,WAAW,IAC3C,gBAAgB,CACV,CACM,CACT,CACS,CACL,CACT,CACZ,CAAA;AACH,CAAC,CAAA;AAnFY,QAAA,YAAY,gBAmFxB"}
@@ -0,0 +1 @@
1
+ export { SortDropdown } from './SortDropdown';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SortDropdown = void 0;
4
+ var SortDropdown_1 = require("./SortDropdown");
5
+ Object.defineProperty(exports, "SortDropdown", { enumerable: true, get: function () { return SortDropdown_1.SortDropdown; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Dropdown/SortDropdown/index.ts"],"names":[],"mappings":";;;AAAA,+CAA6C;AAApC,4GAAA,YAAY,OAAA"}
@@ -0,0 +1,53 @@
1
+ export declare const sortDropdownStyle: import("tailwind-variants").TVReturnType<{
2
+ [key: string]: {
3
+ [key: string]: import("tailwind-variants").ClassValue | {
4
+ body?: import("tailwind-variants").ClassValue;
5
+ footer?: import("tailwind-variants").ClassValue;
6
+ select?: import("tailwind-variants").ClassValue;
7
+ };
8
+ };
9
+ } | {
10
+ [x: string]: {
11
+ [x: string]: import("tailwind-variants").ClassValue | {
12
+ body?: import("tailwind-variants").ClassValue;
13
+ footer?: import("tailwind-variants").ClassValue;
14
+ select?: import("tailwind-variants").ClassValue;
15
+ };
16
+ };
17
+ } | {}, {
18
+ body: string;
19
+ select: string;
20
+ footer: string;
21
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<unknown, {
22
+ [key: string]: {
23
+ [key: string]: import("tailwind-variants").ClassValue | {
24
+ body?: import("tailwind-variants").ClassValue;
25
+ footer?: import("tailwind-variants").ClassValue;
26
+ select?: import("tailwind-variants").ClassValue;
27
+ };
28
+ };
29
+ } | {}>, {
30
+ [key: string]: {
31
+ [key: string]: import("tailwind-variants").ClassValue | {
32
+ body?: import("tailwind-variants").ClassValue;
33
+ footer?: import("tailwind-variants").ClassValue;
34
+ select?: import("tailwind-variants").ClassValue;
35
+ };
36
+ };
37
+ } | {}, {
38
+ body: string;
39
+ select: string;
40
+ footer: string;
41
+ }, import("tailwind-variants").TVReturnType<unknown, {
42
+ body: string;
43
+ select: string;
44
+ footer: string;
45
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<unknown, {
46
+ [key: string]: {
47
+ [key: string]: import("tailwind-variants").ClassValue | {
48
+ body?: import("tailwind-variants").ClassValue;
49
+ footer?: import("tailwind-variants").ClassValue;
50
+ select?: import("tailwind-variants").ClassValue;
51
+ };
52
+ };
53
+ } | {}>, unknown, unknown, undefined>>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sortDropdownStyle = void 0;
4
+ const tailwind_variants_1 = require("tailwind-variants");
5
+ exports.sortDropdownStyle = (0, tailwind_variants_1.tv)({
6
+ slots: {
7
+ body: 'shr-p-1.5',
8
+ select: 'shr-min-w-[16em]',
9
+ footer: 'shr-border-t-shorthand shr-px-1.5 shr-py-1',
10
+ },
11
+ });
12
+ //# sourceMappingURL=style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/components/Dropdown/SortDropdown/style.ts"],"names":[],"mappings":";;;AAAA,yDAAsC;AAEzB,QAAA,iBAAiB,GAAG,IAAA,sBAAE,EAAC;IAClC,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,4CAA4C;KACrD;CACF,CAAC,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { ChangeEventHandler, ComponentProps, MouseEventHandler } from 'react';
2
+ import { SortDropdown } from './SortDropdown';
3
+ type Props = Omit<ComponentProps<typeof SortDropdown>, 'onCancel'>;
4
+ export declare const useSortDropdown: ({ sortFields, defaultOrder, onApply, decorators }: Props) => {
5
+ setCheckedInnerOrder: import("react").Dispatch<import("react").SetStateAction<"desc" | "asc">>;
6
+ labels: {
7
+ triggerLabel: string;
8
+ sortFieldLabel: string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>;
9
+ sortOrderLabel: string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>;
10
+ ascLabel: string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>;
11
+ descLabel: string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>;
12
+ applyButtonLabel: string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>;
13
+ cancelButtonLabel: string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>;
14
+ };
15
+ handler: {
16
+ handleApply: MouseEventHandler<HTMLButtonElement>;
17
+ handleChange: ChangeEventHandler<HTMLSelectElement>;
18
+ };
19
+ innerValues: {
20
+ innerFields: (({
21
+ value: string;
22
+ } & Omit<import("react").OptionHTMLAttributes<HTMLOptionElement>, "value">) | ({
23
+ label: string;
24
+ options: ({
25
+ value: string;
26
+ } & Omit<import("react").OptionHTMLAttributes<HTMLOptionElement>, "value">)[];
27
+ } & import("react").OptgroupHTMLAttributes<HTMLOptGroupElement>))[];
28
+ innerSelectedField: string | undefined;
29
+ innerCheckedOrder: "desc" | "asc";
30
+ };
31
+ SortIcon: import("react").FC<import("../../Icon").ComponentProps>;
32
+ styles: {
33
+ bodyStyle: string;
34
+ selectStyle: string;
35
+ footerStyle: string;
36
+ };
37
+ };
38
+ export {};
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useSortDropdown = void 0;
4
+ const react_1 = require("react");
5
+ const Icon_1 = require("../../Icon");
6
+ const style_1 = require("./style");
7
+ const SORT_FIELD_LABEL = '並び替え項目';
8
+ const SORT_ORDER_LABEL = '並び順';
9
+ const ASC_LABEL = '昇順';
10
+ const DESC_LABEL = '降順';
11
+ const APPLY_BUTTON_TEXT = '適用';
12
+ const CANCEL_BUTTON_TEXT = 'キャンセル';
13
+ const useSortDropdown = ({ sortFields, defaultOrder, onApply, decorators }) => {
14
+ const sortFieldLabel = (0, react_1.useMemo)(() => decorators?.sortFieldLabel?.(SORT_FIELD_LABEL) || SORT_FIELD_LABEL, [decorators]);
15
+ const sortOrderLabel = (0, react_1.useMemo)(() => decorators?.sortOrderLabel?.(SORT_ORDER_LABEL) || SORT_ORDER_LABEL, [decorators]);
16
+ const ascLabel = (0, react_1.useMemo)(() => decorators?.ascLabel?.(ASC_LABEL) || ASC_LABEL, [decorators]);
17
+ const descLabel = (0, react_1.useMemo)(() => decorators?.descLabel?.(DESC_LABEL) || DESC_LABEL, [decorators]);
18
+ const applyButtonLabel = (0, react_1.useMemo)(() => decorators?.applyButtonLabel?.(APPLY_BUTTON_TEXT) || APPLY_BUTTON_TEXT, [decorators]);
19
+ const cancelButtonLabel = (0, react_1.useMemo)(() => decorators?.cancelButtonLabel?.(CANCEL_BUTTON_TEXT) || CANCEL_BUTTON_TEXT, [decorators]);
20
+ // 外向きの値
21
+ const [selectedLabel, setSelectedLabel] = (0, react_1.useState)();
22
+ const [checkedOrder, setCheckedOrder] = (0, react_1.useState)(defaultOrder);
23
+ // 内部的な値
24
+ const [innerFields, setInnerFields] = (0, react_1.useState)(sortFields);
25
+ const [innerSelectedField, setInnerSelectedField] = (0, react_1.useState)();
26
+ const [innerCheckedOrder, setCheckedInnerOrder] = (0, react_1.useState)(defaultOrder);
27
+ (0, react_1.useMemo)(() => {
28
+ if (selectedLabel)
29
+ return;
30
+ // 初期値は option に紛れているので、選択されている項目を取得
31
+ const defaultField = sortFields.find((field) => 'selected' in field && field.selected) || sortFields[0];
32
+ setSelectedLabel(defaultField.label);
33
+ setInnerSelectedField(defaultField.label);
34
+ }, [selectedLabel, sortFields]);
35
+ // 外向きな値で構成
36
+ const triggerLabel = (0, react_1.useMemo)(() => {
37
+ const sortLabel = checkedOrder === 'asc' ? ascLabel : descLabel;
38
+ return `${selectedLabel}(${sortLabel})`;
39
+ }, [ascLabel, descLabel, selectedLabel, checkedOrder]);
40
+ const SortIcon = (0, react_1.useMemo)(() => (checkedOrder === 'asc' ? Icon_1.FaArrowUpWideShortIcon : Icon_1.FaArrowDownWideShortIcon), [checkedOrder]);
41
+ const handleChange = (0, react_1.useCallback)((e) => {
42
+ const select = e.currentTarget;
43
+ const newLabel = select.options[select.selectedIndex].label;
44
+ const newFields = innerFields.map((field) => ({
45
+ ...field,
46
+ selected: field.label === newLabel,
47
+ }));
48
+ setInnerFields(newFields);
49
+ setInnerSelectedField(newLabel);
50
+ }, [innerFields]);
51
+ const handleApply = (0, react_1.useCallback)(() => {
52
+ setSelectedLabel(innerSelectedField);
53
+ setCheckedOrder(innerCheckedOrder);
54
+ onApply({ field: innerSelectedField || '', order: innerCheckedOrder, newfields: innerFields });
55
+ }, [innerCheckedOrder, innerFields, innerSelectedField, onApply]);
56
+ const styles = (0, react_1.useMemo)(() => {
57
+ const { body, select, footer } = (0, style_1.sortDropdownStyle)();
58
+ return {
59
+ bodyStyle: body(),
60
+ selectStyle: select(),
61
+ footerStyle: footer(),
62
+ };
63
+ }, []);
64
+ return {
65
+ setCheckedInnerOrder,
66
+ labels: {
67
+ triggerLabel,
68
+ sortFieldLabel,
69
+ sortOrderLabel,
70
+ ascLabel,
71
+ descLabel,
72
+ applyButtonLabel,
73
+ cancelButtonLabel,
74
+ },
75
+ handler: { handleApply, handleChange },
76
+ innerValues: { innerFields, innerSelectedField, innerCheckedOrder },
77
+ SortIcon,
78
+ styles,
79
+ };
80
+ };
81
+ exports.useSortDropdown = useSortDropdown;
82
+ //# sourceMappingURL=useSortDropdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSortDropdown.js","sourceRoot":"","sources":["../../../../src/components/Dropdown/SortDropdown/useSortDropdown.ts"],"names":[],"mappings":";;;AAAA,iCAOc;AAEd,qCAA6E;AAG7E,mCAA2C;AAI3C,MAAM,gBAAgB,GAAG,QAAQ,CAAA;AACjC,MAAM,gBAAgB,GAAG,KAAK,CAAA;AAC9B,MAAM,SAAS,GAAG,IAAI,CAAA;AACtB,MAAM,UAAU,GAAG,IAAI,CAAA;AACvB,MAAM,iBAAiB,GAAG,IAAI,CAAA;AAC9B,MAAM,kBAAkB,GAAG,OAAO,CAAA;AAE3B,MAAM,eAAe,GAAG,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAS,EAAE,EAAE;IAC1F,MAAM,cAAc,GAAG,IAAA,eAAO,EAC5B,GAAG,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,CAAC,gBAAgB,CAAC,IAAI,gBAAgB,EACxE,CAAC,UAAU,CAAC,CACb,CAAA;IACD,MAAM,cAAc,GAAG,IAAA,eAAO,EAC5B,GAAG,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,CAAC,gBAAgB,CAAC,IAAI,gBAAgB,EACxE,CAAC,UAAU,CAAC,CACb,CAAA;IACD,MAAM,QAAQ,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,IAAI,SAAS,EAAE,CAAC,UAAU,CAAC,CAAC,CAAA;IAC5F,MAAM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AAK,EAAE,kBAAkB,IAAI,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,CAAA;IAChG,CAAC,EAAE,CAAC,iBAAiB,EAAE,WAAW,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC,CAAA;IAEjE,MAAM,MAAM,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAC1B,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAiB,GAAE,CAAA;QACpD,OAAO;YACL,SAAS,EAAE,IAAI,EAAE;YACjB,WAAW,EAAE,MAAM,EAAE;YACrB,WAAW,EAAE,MAAM,EAAE;SACtB,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO;QACL,oBAAoB;QACpB,MAAM,EAAE;YACN,YAAY;YACZ,cAAc;YACd,cAAc;YACd,QAAQ;YACR,SAAS;YACT,gBAAgB;YAChB,iBAAiB;SAClB;QACD,OAAO,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE;QACtC,WAAW,EAAE,EAAE,WAAW,EAAE,kBAAkB,EAAE,iBAAiB,EAAE;QACnE,QAAQ;QACR,MAAM;KACP,CAAA;AACH,CAAC,CAAA;AA9FY,QAAA,eAAe,mBA8F3B"}
@@ -5,3 +5,4 @@ export { DropdownCloser } from './DropdownCloser';
5
5
  export { DropdownScrollArea } from './DropdownScrollArea';
6
6
  export { FilterDropdown } from './FilterDropdown';
7
7
  export { DropdownMenuButton } from './DropdownMenuButton';
8
+ export { SortDropdown } from './SortDropdown';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DropdownMenuButton = exports.FilterDropdown = exports.DropdownScrollArea = exports.DropdownCloser = exports.DropdownContent = exports.DropdownTrigger = exports.Dropdown = void 0;
3
+ exports.SortDropdown = exports.DropdownMenuButton = exports.FilterDropdown = exports.DropdownScrollArea = exports.DropdownCloser = exports.DropdownContent = exports.DropdownTrigger = exports.Dropdown = void 0;
4
4
  var Dropdown_1 = require("./Dropdown");
5
5
  Object.defineProperty(exports, "Dropdown", { enumerable: true, get: function () { return Dropdown_1.Dropdown; } });
6
6
  var DropdownTrigger_1 = require("./DropdownTrigger");
@@ -15,4 +15,6 @@ var FilterDropdown_1 = require("./FilterDropdown");
15
15
  Object.defineProperty(exports, "FilterDropdown", { enumerable: true, get: function () { return FilterDropdown_1.FilterDropdown; } });
16
16
  var DropdownMenuButton_1 = require("./DropdownMenuButton");
17
17
  Object.defineProperty(exports, "DropdownMenuButton", { enumerable: true, get: function () { return DropdownMenuButton_1.DropdownMenuButton; } });
18
+ var SortDropdown_1 = require("./SortDropdown");
19
+ Object.defineProperty(exports, "SortDropdown", { enumerable: true, get: function () { return SortDropdown_1.SortDropdown; } });
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,qDAAmD;AAA1C,kHAAA,eAAe,OAAA;AACxB,qDAAmD;AAA1C,kHAAA,eAAe,OAAA;AACxB,mDAAiD;AAAxC,gHAAA,cAAc,OAAA;AACvB,2DAAyD;AAAhD,wHAAA,kBAAkB,OAAA;AAC3B,mDAAiD;AAAxC,gHAAA,cAAc,OAAA;AACvB,2DAAyD;AAAhD,wHAAA,kBAAkB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,qDAAmD;AAA1C,kHAAA,eAAe,OAAA;AACxB,qDAAmD;AAA1C,kHAAA,eAAe,OAAA;AACxB,mDAAiD;AAAxC,gHAAA,cAAc,OAAA;AACvB,2DAAyD;AAAhD,wHAAA,kBAAkB,OAAA;AAC3B,mDAAiD;AAAxC,gHAAA,cAAc,OAAA;AACvB,2DAAyD;AAAhD,wHAAA,kBAAkB,OAAA;AAC3B,+CAA6C;AAApC,4GAAA,YAAY,OAAA"}
@@ -39,7 +39,7 @@ const appLauncher = (0, tailwind_variants_1.tv)({
39
39
  appsButton: [
40
40
  'shr-border-transparent shr-font-normal shr-text-white [&]:shr-bg-transparent [&]:shr-px-0.25',
41
41
  'hover:shr-border-transparent hover:[&]:shr-bg-transparent',
42
- 'focus-visible:shr-border-transparent focus-visible:shr-bg-transparent',
42
+ 'focus-visible:shr-border-transparent focus-visible:[&]:shr-bg-transparent',
43
43
  ],
44
44
  contentWrapper: ['smarthr-ui-AppLauncher', 'shr-p-1.5 shr-leading-normal'],
45
45
  category: 'smarthr-ui-AppLauncher-category',
@@ -1 +1 @@
1
- {"version":3,"file":"AppLauncher.js","sourceRoot":"","sources":["../../../../src/components/Header/AppLauncher/AppLauncher.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiE;AACjE,yDAAsC;AAEtC,yCAAqC;AACrC,6CAA+F;AAC/F,2CAAuC;AACvC,qCAA0C;AAC1C,yCAA6C;AAC7C,+DAAiD;AACjD,6CAAyC;AAsBzC,MAAM,aAAa,GAAG,KAAK,CAAA;AAE3B,MAAM,WAAW,GAAG,IAAA,sBAAE,EAAC;IACrB,KAAK,EAAE;QACL,UAAU,EAAE;YACV,8FAA8F;YAC9F,2DAA2D;YAC3D,uEAAuE;SACxE;QACD,cAAc,EAAE,CAAC,wBAAwB,EAAE,8BAA8B,CAAC;QAC1E,QAAQ,EAAE,iCAAiC;QAC3C,OAAO,EAAE,eAAe;QACxB,IAAI,EAAE,6BAA6B;QACnC,MAAM,EAAE;YACN,+BAA+B;YAC/B,6EAA6E;SAC9E;KACF;CACF,CAAC,CAAA;AAEK,MAAM,WAAW,GAAmC,CAAC,EAC1D,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,GAAG,KAAK,EACT,EAAE,EAAE;IACH,M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