@uniai-fe/uds-primitives 0.12.2 → 0.12.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniai-fe/uds-primitives",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "UNIAI Design System; Primitives Components Package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -88,10 +88,10 @@
|
|
|
88
88
|
"sass": "^1.101.3",
|
|
89
89
|
"typescript": "6.0.3",
|
|
90
90
|
"@uniai-fe/eslint-config": "0.4.2",
|
|
91
|
-
"@uniai-fe/
|
|
91
|
+
"@uniai-fe/util-functions": "0.4.3",
|
|
92
92
|
"@uniai-fe/tsconfig": "0.2.0",
|
|
93
|
-
"@uniai-fe/
|
|
94
|
-
"@uniai-fe/
|
|
93
|
+
"@uniai-fe/next-devkit": "0.4.0",
|
|
94
|
+
"@uniai-fe/uds-foundation": "0.5.0"
|
|
95
95
|
},
|
|
96
96
|
"scripts": {
|
|
97
97
|
"check:pre-commit": "pnpm --dir ../../.. run check:pre-commit",
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M11.4484 5.24542L8.00723 8.68658L4.56606 5.24542C4.25365 4.933 3.74693 4.933 3.43451 5.24542C3.12209 5.55784 3.12209 6.06456 3.43451 6.37698L7.44145 10.3839C7.75387 10.6963 8.26058 10.6963 8.573 10.3839L12.5799 6.37698C12.8924 6.06456 12.8924 5.55784 12.5799 5.24542C12.2675 4.933 11.7608 4.933 11.4484 5.24542Z" fill="#3A3C46"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M11.4484 10.2175L8.00723 6.77634L4.56606 10.2175C4.25365 10.5299 3.74693 10.5299 3.43451 10.2175C3.12209 9.90508 3.12209 9.39837 3.43451 9.08595L7.44145 5.07901C7.75387 4.76659 8.26058 4.76659 8.573 5.07901L12.5799 9.08595C12.8924 9.39837 12.8924 9.90508 12.5799 10.2175C12.2675 10.5299 11.7608 10.5299 11.4484 10.2175Z" fill="#3A3C46"/>
|
|
3
|
+
</svg>
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import type { ChangeEvent, FocusEvent, KeyboardEvent, MouseEvent } from "react";
|
|
5
5
|
import { forwardRef, useRef } from "react";
|
|
6
|
-
import { Calendar } from "../../../calendar";
|
|
7
6
|
import type { TimePickerUnit } from "../../../time-picker/types";
|
|
7
|
+
import StepperChevronDownIcon from "../../img/stepper-chevron-down.svg";
|
|
8
|
+
import StepperChevronUpIcon from "../../img/stepper-chevron-up.svg";
|
|
8
9
|
import type { InputTimeTriggerProps } from "../../types";
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -217,7 +218,7 @@ const InputTimeTrigger = forwardRef<HTMLDivElement, InputTimeTriggerProps>(
|
|
|
217
218
|
onStep(1);
|
|
218
219
|
}}
|
|
219
220
|
>
|
|
220
|
-
<
|
|
221
|
+
<StepperChevronUpIcon aria-hidden="true" />
|
|
221
222
|
</button>
|
|
222
223
|
<button
|
|
223
224
|
type="button"
|
|
@@ -230,7 +231,7 @@ const InputTimeTrigger = forwardRef<HTMLDivElement, InputTimeTriggerProps>(
|
|
|
230
231
|
onStep(-1);
|
|
231
232
|
}}
|
|
232
233
|
>
|
|
233
|
-
<
|
|
234
|
+
<StepperChevronDownIcon aria-hidden="true" />
|
|
234
235
|
</button>
|
|
235
236
|
</div>
|
|
236
237
|
) : null}
|