@a-type/ui 0.8.17 → 0.8.19
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/cjs/components/button/Button.js +5 -3
- package/dist/cjs/components/button/Button.js.map +1 -1
- package/dist/cjs/components/icon/generated/IconSpritesheet.js +1 -1
- package/dist/cjs/components/icon/generated/IconSpritesheet.js.map +1 -1
- package/dist/cjs/components/icon/generated/iconNames.d.ts +1 -1
- package/dist/cjs/components/icon/generated/iconNames.js +4 -0
- package/dist/cjs/components/icon/generated/iconNames.js.map +1 -1
- package/dist/cjs/components/liveUpdateTextField/LiveUpdateTextField.d.ts +4 -1
- package/dist/cjs/components/liveUpdateTextField/LiveUpdateTextField.js.map +1 -1
- package/dist/esm/components/button/Button.js +5 -3
- package/dist/esm/components/button/Button.js.map +1 -1
- package/dist/esm/components/icon/generated/IconSpritesheet.js +1 -1
- package/dist/esm/components/icon/generated/IconSpritesheet.js.map +1 -1
- package/dist/esm/components/icon/generated/iconNames.d.ts +1 -1
- package/dist/esm/components/icon/generated/iconNames.js +4 -0
- package/dist/esm/components/icon/generated/iconNames.js.map +1 -1
- package/dist/esm/components/liveUpdateTextField/LiveUpdateTextField.d.ts +4 -1
- package/dist/esm/components/liveUpdateTextField/LiveUpdateTextField.js.map +1 -1
- package/package.json +1 -1
- package/src/components/button/Button.tsx +4 -2
- package/src/components/icon/generated/IconSpritesheet.tsx +50 -0
- package/src/components/icon/generated/iconNames.ts +4 -0
- package/src/components/liveUpdateTextField/LiveUpdateTextField.tsx +5 -0
|
@@ -769,6 +769,56 @@ export const IconSpritesheet = (props: any) => (
|
|
|
769
769
|
/>
|
|
770
770
|
<path d="M2 3.5H13" stroke="currentColor" />
|
|
771
771
|
</symbol>
|
|
772
|
+
<symbol id="icon-notAllowed" viewBox="0 0 15 15">
|
|
773
|
+
<g clipPath="url(#clip0_996_18)">
|
|
774
|
+
<path
|
|
775
|
+
d="M13.6667 7.49998C13.6667 10.9057 10.9058 13.6666 7.50004 13.6666V14.6666C11.4581 14.6666 14.6667 11.458 14.6667 7.49998H13.6667ZM7.50004 13.6666C4.09428 13.6666 1.33337 10.9057 1.33337 7.49998H0.333374C0.333374 11.458 3.542 14.6666 7.50004 14.6666V13.6666ZM1.33337 7.49998C1.33337 4.09422 4.09428 1.33331 7.50004 1.33331V0.333313C3.542 0.333313 0.333374 3.54194 0.333374 7.49998H1.33337ZM7.50004 1.33331C10.9058 1.33331 13.6667 4.09422 13.6667 7.49998H14.6667C14.6667 3.54194 11.4581 0.333313 7.50004 0.333313V1.33331ZM11.8605 2.43239L2.43245 11.8605L3.13955 12.5676L12.5676 3.13949L11.8605 2.43239Z"
|
|
776
|
+
fill="currentColor"
|
|
777
|
+
/>
|
|
778
|
+
</g>
|
|
779
|
+
<defs>
|
|
780
|
+
<clipPath id="clip0_996_18">
|
|
781
|
+
<rect width="15" height="15" fill="white" />
|
|
782
|
+
</clipPath>
|
|
783
|
+
</defs>
|
|
784
|
+
</symbol>
|
|
785
|
+
<symbol id="icon-connection" viewBox="0 0 15 15">
|
|
786
|
+
<path
|
|
787
|
+
d="M10.6464 3.64645L3.64645 10.6464L4.35355 11.3536L11.3536 4.35355L10.6464 3.64645Z"
|
|
788
|
+
fill="currentColor"
|
|
789
|
+
/>
|
|
790
|
+
<circle cx="12" cy="3" r="1.5" stroke="currentColor" />
|
|
791
|
+
<circle cx="3" cy="12" r="1.5" stroke="currentColor" />
|
|
792
|
+
</symbol>
|
|
793
|
+
<symbol id="icon-connectionBreak" viewBox="0 0 15 15">
|
|
794
|
+
<path
|
|
795
|
+
d="M8.14645 6.14645C7.95118 6.34171 7.95118 6.65829 8.14645 6.85355C8.34171 7.04882 8.65829 7.04882 8.85355 6.85355L8.14645 6.14645ZM10.6464 3.64645L8.14645 6.14645L8.85355 6.85355L11.3536 4.35355L10.6464 3.64645Z"
|
|
796
|
+
fill="currentColor"
|
|
797
|
+
/>
|
|
798
|
+
<path
|
|
799
|
+
d="M6.85355 8.85355C7.04882 8.65829 7.04882 8.34171 6.85355 8.14645C6.65829 7.95118 6.34171 7.95118 6.14645 8.14645L6.85355 8.85355ZM6.14645 8.14645L3.64645 10.6464L4.35355 11.3536L6.85355 8.85355L6.14645 8.14645Z"
|
|
800
|
+
fill="currentColor"
|
|
801
|
+
/>
|
|
802
|
+
<circle cx="12" cy="3" r="1.5" stroke="currentColor" />
|
|
803
|
+
<circle cx="3" cy="12" r="1.5" stroke="currentColor" />
|
|
804
|
+
<path
|
|
805
|
+
d="M9 8.5H11.5M8.5 9V11.5M3.5 6.5H6M6.5 3.5V6"
|
|
806
|
+
stroke="currentColor"
|
|
807
|
+
/>
|
|
808
|
+
</symbol>
|
|
809
|
+
<symbol id="icon-connectionSplit" viewBox="0 0 15 15">
|
|
810
|
+
<path
|
|
811
|
+
d="M8.64645 5.64645C8.45118 5.84171 8.45118 6.15829 8.64645 6.35355C8.84171 6.54882 9.15829 6.54882 9.35355 6.35355L8.64645 5.64645ZM10.6464 3.64645L8.64645 5.64645L9.35355 6.35355L11.3536 4.35355L10.6464 3.64645Z"
|
|
812
|
+
fill="currentColor"
|
|
813
|
+
/>
|
|
814
|
+
<path
|
|
815
|
+
d="M6.35355 9.35355C6.54882 9.15829 6.54882 8.84171 6.35355 8.64645C6.15829 8.45118 5.84171 8.45118 5.64645 8.64645L6.35355 9.35355ZM5.64645 8.64645L3.64645 10.6464L4.35355 11.3536L6.35355 9.35355L5.64645 8.64645Z"
|
|
816
|
+
fill="currentColor"
|
|
817
|
+
/>
|
|
818
|
+
<circle cx="12" cy="3" r="1.5" stroke="currentColor" />
|
|
819
|
+
<circle cx="7.5" cy="7.5" r="2" stroke="currentColor" />
|
|
820
|
+
<circle cx="3" cy="12" r="1.5" stroke="currentColor" />
|
|
821
|
+
</symbol>
|
|
772
822
|
</defs>
|
|
773
823
|
</svg>
|
|
774
824
|
);
|
|
@@ -4,6 +4,8 @@ import {
|
|
|
4
4
|
ChangeEvent,
|
|
5
5
|
FocusEvent,
|
|
6
6
|
forwardRef,
|
|
7
|
+
KeyboardEventHandler,
|
|
8
|
+
MouseEventHandler,
|
|
7
9
|
useCallback,
|
|
8
10
|
useEffect,
|
|
9
11
|
useMemo,
|
|
@@ -29,6 +31,9 @@ export type LiveUpdateTextFieldProps = {
|
|
|
29
31
|
placeholder?: string;
|
|
30
32
|
type?: InputProps['type'];
|
|
31
33
|
id?: string;
|
|
34
|
+
onKeyDown?: KeyboardEventHandler;
|
|
35
|
+
onKeyUp?: KeyboardEventHandler;
|
|
36
|
+
onClick?: MouseEventHandler;
|
|
32
37
|
};
|
|
33
38
|
|
|
34
39
|
/**
|