aristid-ds 17.0.0 → 17.1.0-112d862
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/CHANGELOG.md +56 -0
- package/README.md +16 -1
- package/dist/Kit/DataDisplay/Badge/index.js +1 -1
- package/dist/Kit/DataDisplay/Collapse/index.js +1 -1
- package/dist/Kit/DataDisplay/ItemCard/index.js +1 -1
- package/dist/Kit/DataDisplay/ItemList/index.js +1 -1
- package/dist/Kit/DataDisplay/RedirectCard/index.js +1 -1
- package/dist/Kit/DataDisplay/Table/index.js +1 -1
- package/dist/Kit/DataDisplay/Tabs/index.js +1 -1
- package/dist/Kit/DataDisplay/Tag/index.js +1 -1
- package/dist/Kit/DataEntry/AutoComplete/index.js +1 -1
- package/dist/Kit/DataEntry/Filter/index.js +1 -1
- package/dist/Kit/DataEntry/Input/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/LinkButton/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/MenuBar/MenuActionList/index.js +1 -1
- package/dist/Kit/DataEntry/RichText/index.js +1 -1
- package/dist/Kit/DataEntry/SearchInput/index.js +1 -1
- package/dist/Kit/DataEntry/Select/index.js +1 -1
- package/dist/Kit/DataEntry/Select/renders.d.ts +1 -1
- package/dist/Kit/DataEntry/Select/types.d.ts +4 -1
- package/dist/Kit/DataEntry/Switch/index.js +1 -1
- package/dist/Kit/DataEntry/TreeSelect/index.js +1 -1
- package/dist/Kit/DataEntry/TreeSelect/renders.d.ts +1 -1
- package/dist/Kit/DataEntry/TreeSelect/types.d.ts +4 -0
- package/dist/Kit/DataEntry/Upload/index.js +1 -1
- package/dist/Kit/Feedback/Alert/index.js +1 -1
- package/dist/Kit/Feedback/Modal/index.js +1 -1
- package/dist/Kit/Feedback/Notification/index.js +1 -1
- package/dist/Kit/Feedback/SnackBar/index.js +1 -1
- package/dist/Kit/General/Button/index.js +1 -1
- package/dist/Kit/General/DynamicActions/index.js +1 -1
- package/dist/Kit/Layout/PageLayout/index.js +1 -1
- package/dist/Kit/Navigation/DropDown/index.js +10 -5
- package/dist/Kit/Navigation/Header/index.js +1 -1
- package/dist/Kit/Navigation/PageHeader/index.js +1 -1
- package/dist/Kit/Navigation/SideMenu/index.js +1 -1
- package/dist/Kit/Navigation/SidePanel/index.js +1 -1
- package/dist/Kit/index.js +26 -26
- package/dist/assets/Alert.css +1 -1
- package/dist/assets/App.css +1 -1
- package/dist/assets/Badge.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ItemCard.css +1 -1
- package/dist/assets/Notification.css +1 -1
- package/dist/assets/Table.css +1 -1
- package/dist/assets/Tag.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/chunks/{Alert.CLGWsecl.js → Alert.re9UIUJW.js} +1 -1
- package/dist/chunks/{Badge.85bpGcH7.js → Badge.lE7m-vaK.js} +1 -1
- package/dist/chunks/{Button.BwZ9TVAy.js → Button.v1MQw30k.js} +1 -1
- package/dist/chunks/{Collapse.DineX-8_.js → Collapse.3D8b3SlT.js} +3 -3
- package/dist/chunks/{DynamicActions.Cm8BsY8r.js → DynamicActions.qq2NpBeB.js} +1 -1
- package/dist/chunks/{Filter.BqMbNcsH.js → Filter.BZGFrvpc.js} +1 -1
- package/dist/chunks/{Header.DwTjCAR4.js → Header.Dl7DyHcE.js} +3 -3
- package/dist/chunks/{Input.DrLszrjk.js → Input.CpnF5RXW.js} +1 -1
- package/dist/chunks/{ItemCard.CdfDmmnw.js → ItemCard.C0m4KR3L.js} +6 -6
- package/dist/chunks/ItemList.BIdujfWg.js +129 -0
- package/dist/chunks/{LinkButton.BVCE_uhb.js → LinkButton.Bqdrb8fC.js} +3 -3
- package/dist/chunks/{Modal.CsGHowNT.js → Modal.BV2B37Lq.js} +1 -1
- package/dist/chunks/{Notification.D-vgkwp1.js → Notification.Bb6eMeLZ.js} +4 -4
- package/dist/chunks/{PageHeader.BsBe2qmv.js → PageHeader.D-7r_SAE.js} +2 -2
- package/dist/chunks/{PageLayout.DxAVdp5a.js → PageLayout.BRfgQjmH.js} +2 -2
- package/dist/chunks/{RedirectCard.C9L2Ym_b.js → RedirectCard.CKQEtQnm.js} +1 -1
- package/dist/chunks/{RichText.mJKHbN6t.js → RichText.DnxqGaDh.js} +68 -67
- package/dist/chunks/{SearchInput.CNgLpnTf.js → SearchInput.Bfq_95YB.js} +1 -1
- package/dist/chunks/{Select.v3Ly7XpX.js → Select.B5NPJspZ.js} +77 -80
- package/dist/chunks/{SideMenu.CSrmEHB_.js → SideMenu.BFzOBedG.js} +2 -2
- package/dist/chunks/{SidePanel.CTtyKSw5.js → SidePanel.CXF0Xm2A.js} +1 -1
- package/dist/chunks/{SnackBar.Bdq4XTnk.js → SnackBar.C7_Izy5H.js} +2 -2
- package/dist/chunks/{Switch.6L3-gRH2.js → Switch.D4X2HkVR.js} +1 -1
- package/dist/chunks/{Table.CodO0Y9t.js → Table.eZGKvND1.js} +11 -14
- package/dist/chunks/{Tabs.CUVbsW1C.js → Tabs.DzoxGGJ1.js} +2 -2
- package/dist/chunks/{Tag.ucduTbaH.js → Tag.Cif-4UOP.js} +8 -7
- package/dist/chunks/TreeSelect.7mmtfJka.js +177 -0
- package/dist/chunks/{Upload.B93h1Ueu.js → Upload.BfvVXup8.js} +2 -2
- package/dist/chunks/{styles.module.I-VT2CFc.js → styles.module.By98kIfU.js} +1 -1
- package/dist/index.es.js +26 -26
- package/dist/index.umd.js +4 -4
- package/dist/theme/aristid/general/colors/index.js +18 -0
- package/dist/theme/aristid/general/utilities/index.js +12 -0
- package/dist/theme/types/general/colors/index.d.ts +37 -0
- package/dist/theme/types/utilities/index.d.ts +28 -0
- package/dist/utils/functions/index.d.ts +1 -1
- package/package.json +150 -151
- package/dist/chunks/ItemList.DAwKyhy1.js +0 -112
- package/dist/chunks/TreeSelect.-QrLhdAJ.js +0 -169
- package/dist/theme/utils/convert.d.ts +0 -1
- package/dist/theme/utils/testTokens.d.ts +0 -2643
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [X.Y.Z](https://www.npmjs.com/package/aristid-ds/v/X.Y.Z) (YYYY-MM-DD)
|
|
4
|
+
|
|
5
|
+
### 🐛 Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **Button:**
|
|
8
|
+
- Fix the focus ring being offset to the right on the primary split button (all sizes): Ant Design 6 wraps the dropdown trigger in a `span.ant-dropdown-trigger`, breaking the adjacent-sibling selector that hides the divider when the main button is focused (@philippechevieux)
|
|
9
|
+
- **Alert:**
|
|
10
|
+
- Fix the icon and single-line message not being vertically centered against each other on a message-only alert (no description) (@philippechevieux)
|
|
11
|
+
- Fix the icon being misaligned on a description-only alert (no message): the empty title row still reserved its vertical spacing, so the description was pushed down away from the icon (@philippechevieux)
|
|
12
|
+
- **Select:**
|
|
13
|
+
- Fix the select collapsing to its content width under Ant Design 6 when no explicit width is set; it now fills its `KitInputWrapper` by default while an inline `style` width still takes precedence (@7Remy)
|
|
14
|
+
- **TreeSelect:**
|
|
15
|
+
- Fix the tree select collapsing to its content width under Ant Design 6 when no explicit width is set; it now fills its `KitInputWrapper` by default while an inline `style` width still takes precedence (@7Remy)
|
|
16
|
+
- Fix search being cleared when re-clicking the input while a search was already in progress; the dropdown now stays open and the search value is preserved (@philippechevieux)
|
|
17
|
+
- Fix multi-character search returning no result by defaulting `treeNodeFilterProp` to `title` (was antd's `value`), so nodes are filtered on their displayed label (@philippechevieux)
|
|
18
|
+
|
|
19
|
+
## [17.1.0](https://www.npmjs.com/package/aristid-ds/v/17.1.0) (2026-07-23)
|
|
20
|
+
|
|
21
|
+
### ✨ Features
|
|
22
|
+
|
|
23
|
+
- **ItemList:**
|
|
24
|
+
- Use `KitTooltip` instead of the native HTML `title` on action buttons, and add `aria-label` for accessibility (@philippechevieux)
|
|
25
|
+
|
|
26
|
+
### 🐛 Bug Fixes
|
|
27
|
+
|
|
28
|
+
- **Table:**
|
|
29
|
+
- Fix fixed columns (`fixed: 'left'`/`'right'`) losing `position: sticky` under Ant Design 6, which shifted the fixed header cell and prevented columns from sticking on horizontal scroll (@philippechevieux)
|
|
30
|
+
- **ItemCard:**
|
|
31
|
+
- Fix cards overlapping each other when placed in a CSS grid layout without an explicit width (@evoiron, @frykten)
|
|
32
|
+
- Fix the activate switch staying enabled while the card is in a loading state (@evoiron)
|
|
33
|
+
- **Tag:**
|
|
34
|
+
- Fix tags not being evenly spaced in the "+N others" popup opened from a truncated `Tag.Group` (@evoiron)
|
|
35
|
+
- Remove unused ellipsis in Tag.Group to fix display calculus in flex layouts (@frykten)
|
|
36
|
+
- **Badge:**
|
|
37
|
+
- Fix z-index issue with badge using `dot` prop (@philippechevieux)
|
|
38
|
+
- **Switch:**
|
|
39
|
+
- Replace deprecated `size="default"` with `size="medium"` to remove the Ant Design 6 deprecation warning (@philippechevieux)
|
|
40
|
+
- **Select:**
|
|
41
|
+
- Fix `popupRender` being ignored unless the deprecated `dropdownRender` prop was also passed (@frykten)
|
|
42
|
+
- Fix a consumer-provided `classNames.popup.root` being overwritten instead of merged with the design system's own popup classes (@frykten)
|
|
43
|
+
- Fix `value`/`defaultValue` shape: they now properly accept `labelInValue` objects and arrays (`LabeledValue` / `LabeledValue[]`) in addition to raw string/number values, and fix tag rendering to correctly resolve the tag's icon, avatar and label (@frykten)
|
|
44
|
+
- **DropDown:**
|
|
45
|
+
- Fix a consumer-provided `styles.root` being overwritten instead of merged with the design system's own popup styles when the deprecated `overlayStyle` prop was also used (@frykten)
|
|
46
|
+
- **TreeSelect:**
|
|
47
|
+
- Fix `popupRender` being ignored unless the deprecated `dropdownRender` prop was also passed (@frykten)
|
|
48
|
+
- Fix a consumer-provided `classNames.popup.root` being overwritten instead of merged with the design system's own popup classes (@frykten)
|
|
49
|
+
- Remove the deprecated `bordered`, `dropdownMatchSelectWidth`, `removeIcon` and `maxTagTextLength` props from the public type — they were already dead (ignored due to the custom `tagRender`) or could silently override the design system's own variant/tag styling (@frykten)
|
|
50
|
+
- **RichText:**
|
|
51
|
+
- Remove the Tiptap `Duplicate extension names ['link','underline']` warning by relying on StarterKit v3's bundled `Underline` and disabling only its bundled `Link`, which is re-registered explicitly to keep `inclusive: false` (@philippechevieux)
|
|
52
|
+
- **Alert:**
|
|
53
|
+
- Add the missing `info` semantic color scale (`--general-utilities-info-*`) to the general utilities tokens, fixing Alert's `info` instead of borrowing the `main` scale (@frykten)
|
|
54
|
+
- **Notification:**
|
|
55
|
+
- Switch Notification's `info` variant to the new dedicated `info` tokens instead of borrowing the `main` scale (@frykten)
|
|
56
|
+
- **DatePicker:**
|
|
57
|
+
- Fix the hover background not wrapping long labels in the month/quarter/year/decade panels, where Ant Design pins the cell to a fixed 60px width (@philippechevieux)
|
|
58
|
+
|
|
3
59
|
## [17.0.0](https://www.npmjs.com/package/aristid-ds/v/17.0.0) (2026-07-08)
|
|
4
60
|
|
|
5
61
|
### ✨ Features
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
A React component library built on top of [Ant Design](https://ant.design/), providing ~58 components with a token-based theming system and multi-locale support.
|
|
13
13
|
|
|
14
|
-
**Package:** `aristid-ds` · **Stack:** React 18, TypeScript 5, Ant Design
|
|
14
|
+
**Package:** `aristid-ds` · **Stack:** React 18, TypeScript 5, Ant Design 6, Vite 8, Storybook 10
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
@@ -136,3 +136,18 @@ With npm + Jest:
|
|
|
136
136
|
- [CONTRIBUTING.md](./CONTRIBUTING.md) — how to add components, locales, run tests, commit conventions
|
|
137
137
|
- [CLAUDE.md](./CLAUDE.md) — AI assistant context for working on this repo
|
|
138
138
|
- [docs/ADR.md](./docs/ADR.md) — architecture decision records
|
|
139
|
+
|
|
140
|
+
## AI tooling (Claude Code)
|
|
141
|
+
|
|
142
|
+
This repo ships Claude Code tooling to help work on components — see [CLAUDE.md](./CLAUDE.md) for details.
|
|
143
|
+
|
|
144
|
+
**Start here:** run **`/art-ds-task <Jira key>`** (e.g. `/art-ds-task DS-483`, optional Figma URL as a
|
|
145
|
+
second argument). It runs a preflight, reads the ticket, delegates to the engineer agent, and opens the
|
|
146
|
+
PR — see [CLAUDE.md § Orchestrated workflow](./CLAUDE.md#orchestrated-workflow--art-ds-task).
|
|
147
|
+
|
|
148
|
+
Under the hood:
|
|
149
|
+
|
|
150
|
+
- a **`ard-ds-engineer`** agent that fixes / improves / refactors a Kit component end-to-end
|
|
151
|
+
(reproduce → fix → self-verify → commit + push + PR); see [CLAUDE.md § Repo agent](./CLAUDE.md#repo-agent);
|
|
152
|
+
- repo-local **skills** in [`.claude/skills/`](./.claude/skills) (orchestrate a task, preflight,
|
|
153
|
+
read a ticket, create / fix / verify a component, update the changelog).
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Badge.
|
|
1
|
+
import { t as e } from "../../../chunks/Badge.lE7m-vaK.js";
|
|
2
2
|
export { e as KitBadge };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Collapse.
|
|
1
|
+
import { t as e } from "../../../chunks/Collapse.3D8b3SlT.js";
|
|
2
2
|
export { e as KitCollapse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/ItemCard.
|
|
1
|
+
import { t as e } from "../../../chunks/ItemCard.C0m4KR3L.js";
|
|
2
2
|
export { e as KitItemCard };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/ItemList.
|
|
1
|
+
import { t as e } from "../../../chunks/ItemList.BIdujfWg.js";
|
|
2
2
|
export { e as KitItemList };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/RedirectCard.
|
|
1
|
+
import { t as e } from "../../../chunks/RedirectCard.CKQEtQnm.js";
|
|
2
2
|
export { e as KitRedirectCard };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../../chunks/Table.
|
|
1
|
+
import { n as e, t } from "../../../chunks/Table.eZGKvND1.js";
|
|
2
2
|
export { t as KitTable, e as KitTableExpandButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Tabs.
|
|
1
|
+
import { t as e } from "../../../chunks/Tabs.DzoxGGJ1.js";
|
|
2
2
|
export { e as KitTabs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Tag.
|
|
1
|
+
import { t as e } from "../../../chunks/Tag.Cif-4UOP.js";
|
|
2
2
|
export { e as KitTag };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../../../chunks/InputWrapper.By9kN0xU.js";
|
|
2
2
|
import { t } from "../../../chunks/useGetPopupContainer.C6KjVnVk.js";
|
|
3
|
-
import { t as n } from "../../../chunks/Input.
|
|
3
|
+
import { t as n } from "../../../chunks/Input.CpnF5RXW.js";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { forwardRef as i, useRef as a, useState as o } from "react";
|
|
6
6
|
import { AutoComplete as s } from "antd";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Filter.
|
|
1
|
+
import { t as e } from "../../../chunks/Filter.BZGFrvpc.js";
|
|
2
2
|
export { e as KitFilter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Input.
|
|
1
|
+
import { t as e } from "../../../chunks/Input.CpnF5RXW.js";
|
|
2
2
|
export { e as KitInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../../chunks/LinkButton.
|
|
1
|
+
import { t as e } from "../../../../../chunks/LinkButton.Bqdrb8fC.js";
|
|
2
2
|
export { e as KitLinkButton };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "../../../../../chunks/Divider.BmAL40z9.js";
|
|
2
2
|
import { KitFontStylesButtons as t } from "../FontStylesButtons/index.js";
|
|
3
3
|
import { KitTextAlignButtons as n } from "../TextAlignButtons/index.js";
|
|
4
|
-
import { t as r } from "../../../../../chunks/LinkButton.
|
|
4
|
+
import { t as r } from "../../../../../chunks/LinkButton.Bqdrb8fC.js";
|
|
5
5
|
import { KitListButtons as i } from "../ListButtons/index.js";
|
|
6
6
|
import { KitIndentListButtons as a } from "../IndentListButtons/index.js";
|
|
7
7
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/RichText.
|
|
1
|
+
import { t as e } from "../../../chunks/RichText.DnxqGaDh.js";
|
|
2
2
|
export { e as KitRichText };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/SearchInput.
|
|
1
|
+
import { t as e } from "../../../chunks/SearchInput.Bfq_95YB.js";
|
|
2
2
|
export { e as KitSearchInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Select.
|
|
1
|
+
import { t as e } from "../../../chunks/Select.B5NPJspZ.js";
|
|
2
2
|
export { e as KitSelect };
|
|
@@ -5,6 +5,6 @@ export declare const getTagRender: (customTag: CustomTagProps, disabled: IKitSel
|
|
|
5
5
|
export declare const getMaxTagRender_HACKED: (omittedValues: {
|
|
6
6
|
length: number;
|
|
7
7
|
}, disabled: IKitSelect['disabled'], status: IKitSelect['status']) => ReactNode;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const getPopupRender: (menu: ReactElement, popupRender?: IKitSelect['popupRender']) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export declare const fixSelectRender: (id: string) => void;
|
|
10
10
|
export declare const getOptionLabelRender: (selectOption: IKitOption, labelOnly?: IKitSelect['labelOnly']) => ReactNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SelectProps } from 'antd';
|
|
2
|
+
import { SelectValue } from 'antd/es/select';
|
|
2
3
|
import { KitHTMLAttributes } from '../../../types';
|
|
3
4
|
import { ReactNode, MouseEvent } from 'react';
|
|
4
5
|
import { IKitIdCard } from '../../DataDisplay/IdCard/types';
|
|
@@ -10,7 +11,6 @@ type AntdSelectTypesToOmit =
|
|
|
10
11
|
| 'options'
|
|
11
12
|
| 'bordered'
|
|
12
13
|
| 'fieldNames'
|
|
13
|
-
| 'labelInValue'
|
|
14
14
|
| 'maxTagCount'
|
|
15
15
|
| 'maxTagPlaceholder'
|
|
16
16
|
| 'maxTagTextLength'
|
|
@@ -24,6 +24,7 @@ type AntdSelectTypesToOmit =
|
|
|
24
24
|
| 'onInputKeyDown'
|
|
25
25
|
| 'dropdownStyle'
|
|
26
26
|
| 'menuItemSelectedIcon'
|
|
27
|
+
| 'tagRender'
|
|
27
28
|
| 'labelRender'
|
|
28
29
|
| 'optionRender'
|
|
29
30
|
| 'status'
|
|
@@ -70,4 +71,6 @@ export interface IKitSelect
|
|
|
70
71
|
readonlyLight?: boolean;
|
|
71
72
|
readonly?: boolean;
|
|
72
73
|
status?: KitInputStatus;
|
|
74
|
+
value?: SelectValue | null;
|
|
75
|
+
defaultValue?: SelectValue | null;
|
|
73
76
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Switch.
|
|
1
|
+
import { t as e } from "../../../chunks/Switch.D4X2HkVR.js";
|
|
2
2
|
export { e as KitSwitch };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/TreeSelect
|
|
1
|
+
import { t as e } from "../../../chunks/TreeSelect.7mmtfJka.js";
|
|
2
2
|
export { e as KitTreeSelect };
|
|
@@ -3,5 +3,5 @@ import { CustomTagProps } from '@rc-component/select/es/BaseSelect';
|
|
|
3
3
|
import { IKitSelect } from '../Select/types';
|
|
4
4
|
import { IKitTreeSelect } from './types';
|
|
5
5
|
export declare const getTagRender: (customTag: CustomTagProps, disabled: IKitTreeSelect['disabled'], status: IKitTreeSelect['status'], readonly: boolean) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const getPopupRender: (menu: ReactElement, popupRender?: IKitSelect['popupRender']) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare const fixSelectRender: (id: string) => void;
|
|
@@ -9,6 +9,8 @@ type AntdSelectTypesToOmit =
|
|
|
9
9
|
| 'listHeight'
|
|
10
10
|
| 'maxTagCount'
|
|
11
11
|
| 'maxTagPlaceholder'
|
|
12
|
+
| 'maxTagTextLength'
|
|
13
|
+
| 'removeIcon'
|
|
12
14
|
| 'showCheckedStrategy'
|
|
13
15
|
| 'switcherIcon'
|
|
14
16
|
| 'treeCheckable'
|
|
@@ -17,8 +19,10 @@ type AntdSelectTypesToOmit =
|
|
|
17
19
|
| 'treeLine'
|
|
18
20
|
| 'virtual'
|
|
19
21
|
| 'variant'
|
|
22
|
+
| 'bordered'
|
|
20
23
|
| 'clearIcon'
|
|
21
24
|
| 'dropdownStyle'
|
|
25
|
+
| 'dropdownMatchSelectWidth'
|
|
22
26
|
| 'status'
|
|
23
27
|
| 'readOnly';
|
|
24
28
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Upload.
|
|
1
|
+
import { t as e } from "../../../chunks/Upload.BfvVXup8.js";
|
|
2
2
|
export { e as KitUpload };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Alert.
|
|
1
|
+
import { t as e } from "../../../chunks/Alert.re9UIUJW.js";
|
|
2
2
|
export { e as KitAlert };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../../../chunks/Modal.
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../../../chunks/Modal.BV2B37Lq.js";
|
|
2
2
|
export { r as KitModal, t as KitModalContent, n as KitModalFooter, e as KitModalHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Notification.
|
|
1
|
+
import { t as e } from "../../../chunks/Notification.Bb6eMeLZ.js";
|
|
2
2
|
export { e as KitNotification };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../../chunks/SnackBar.
|
|
1
|
+
import { n as e, r as t, t as n } from "../../../chunks/SnackBar.C7_Izy5H.js";
|
|
2
2
|
export { n as KitSnackBarProvider, e as closeKitSnackBar, t as openKitSnackBar };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Button.
|
|
1
|
+
import { t as e } from "../../../chunks/Button.v1MQw30k.js";
|
|
2
2
|
export { e as KitButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/DynamicActions.
|
|
1
|
+
import { t as e } from "../../../chunks/DynamicActions.qq2NpBeB.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/PageLayout.
|
|
1
|
+
import { t as e } from "../../../chunks/PageLayout.BRfgQjmH.js";
|
|
2
2
|
export { e as KitPageLayout };
|
|
@@ -37,23 +37,28 @@ var f = (e) => e.type === "divider", p = (e) => e.type === "group", m = (e) => {
|
|
|
37
37
|
...e,
|
|
38
38
|
items: t
|
|
39
39
|
};
|
|
40
|
-
}, g = ({ overlayClassName: n, overlayStyle: i, rootClassName: u,
|
|
40
|
+
}, g = ({ overlayClassName: n, overlayStyle: i, rootClassName: u, styles: d, menu: f, getPopupContainer: p, onOpenChange: m, children: g, ..._ }) => {
|
|
41
41
|
let { appId: v } = e(), [y, b] = s(!1), x = o(null), S = o(0);
|
|
42
42
|
y && S.current++;
|
|
43
|
-
let C = t(x,
|
|
43
|
+
let C = t(x, p), w = l(v, n, u), T = typeof d == "function" ? void 0 : d, E = i ? {
|
|
44
|
+
...T,
|
|
45
|
+
root: {
|
|
46
|
+
...T?.root,
|
|
47
|
+
...i
|
|
48
|
+
}
|
|
49
|
+
} : T, D = h(f);
|
|
44
50
|
return a(() => {
|
|
45
51
|
let e = () => b(!1);
|
|
46
52
|
return window.addEventListener("blur", e), () => window.removeEventListener("blur", e);
|
|
47
53
|
}, []), r(c, {
|
|
48
54
|
rootClassName: w,
|
|
49
|
-
styles:
|
|
55
|
+
styles: E,
|
|
50
56
|
getPopupContainer: C,
|
|
51
|
-
menu:
|
|
57
|
+
menu: D,
|
|
52
58
|
open: y,
|
|
53
59
|
onOpenChange: (e, t) => {
|
|
54
60
|
t.source === "menu" ? b(!0) : b(e), m?.(e, t);
|
|
55
61
|
},
|
|
56
|
-
popupRender: p,
|
|
57
62
|
..._,
|
|
58
63
|
children: r("span", {
|
|
59
64
|
ref: x,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Header.
|
|
1
|
+
import { t as e } from "../../../chunks/Header.Dl7DyHcE.js";
|
|
2
2
|
export { e as KitHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/PageHeader.
|
|
1
|
+
import { t as e } from "../../../chunks/PageHeader.D-7r_SAE.js";
|
|
2
2
|
export { e as KitPageHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/SideMenu.
|
|
1
|
+
import { t as e } from "../../../chunks/SideMenu.BFzOBedG.js";
|
|
2
2
|
export { e as KitSideMenu };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../../chunks/SidePanel.
|
|
1
|
+
import { n as e, r as t, t as n } from "../../../chunks/SidePanel.CXF0Xm2A.js";
|
|
2
2
|
export { n as KitSidePanel, e as KitSidePanelContent, t as KitSidePanelHeader };
|
package/dist/Kit/index.js
CHANGED
|
@@ -4,58 +4,58 @@ import { t as n } from "../chunks/Typography.DVDv9LwQ.js";
|
|
|
4
4
|
import { KitTooltip as r } from "./DataDisplay/Tooltip/index.js";
|
|
5
5
|
import { KitSpace as i } from "./Layout/Space/index.js";
|
|
6
6
|
import { t as a } from "../chunks/Avatar.DMy3wRdr.js";
|
|
7
|
-
import { t as o } from "../chunks/Badge.
|
|
7
|
+
import { t as o } from "../chunks/Badge.lE7m-vaK.js";
|
|
8
8
|
import { n as s, t as c } from "../chunks/Comment.C28oythd.js";
|
|
9
9
|
import { t as l } from "../chunks/IdCard.CWE38g68.js";
|
|
10
10
|
import { t as u } from "../chunks/InputWrapper.By9kN0xU.js";
|
|
11
11
|
import { t as d } from "../chunks/Checkbox.UZ_xOkpB.js";
|
|
12
12
|
import { t as f } from "../chunks/CheckableTile.G1mWLqE7.js";
|
|
13
|
-
import { t as p } from "../chunks/Switch.
|
|
13
|
+
import { t as p } from "../chunks/Switch.D4X2HkVR.js";
|
|
14
14
|
import { t as m } from "../chunks/Breadcrumb.DIt0b2vn.js";
|
|
15
|
-
import { t as h } from "../chunks/Tag.
|
|
16
|
-
import { t as g } from "../chunks/Modal.
|
|
17
|
-
import { t as _ } from "../chunks/Button.
|
|
15
|
+
import { t as h } from "../chunks/Tag.Cif-4UOP.js";
|
|
16
|
+
import { t as g } from "../chunks/Modal.BV2B37Lq.js";
|
|
17
|
+
import { t as _ } from "../chunks/Button.v1MQw30k.js";
|
|
18
18
|
import { KitDropDown as v } from "./Navigation/DropDown/index.js";
|
|
19
19
|
import { t as y } from "../chunks/Icon.CxPVsgjL.js";
|
|
20
|
-
import { t as b } from "../chunks/ItemCard.
|
|
20
|
+
import { t as b } from "../chunks/ItemCard.C0m4KR3L.js";
|
|
21
21
|
import { t as x } from "../chunks/Loader.BL2-LOk7.js";
|
|
22
|
-
import { t as S } from "../chunks/Collapse.
|
|
22
|
+
import { t as S } from "../chunks/Collapse.3D8b3SlT.js";
|
|
23
23
|
import { t as C } from "../chunks/Image.kjyHNj64.js";
|
|
24
24
|
import { t as w } from "../chunks/Error.B1hGHo8i.js";
|
|
25
|
-
import { t as T } from "../chunks/ItemList.
|
|
26
|
-
import { n as E, t as D } from "../chunks/Table.
|
|
27
|
-
import { t as O } from "../chunks/Tabs.
|
|
25
|
+
import { t as T } from "../chunks/ItemList.BIdujfWg.js";
|
|
26
|
+
import { n as E, t as D } from "../chunks/Table.eZGKvND1.js";
|
|
27
|
+
import { t as O } from "../chunks/Tabs.DzoxGGJ1.js";
|
|
28
28
|
import { t as k } from "../chunks/Tree.UCxeoAGW.js";
|
|
29
29
|
import { KitTour as A } from "./DataDisplay/Tour/index.js";
|
|
30
|
-
import { t as j } from "../chunks/RedirectCard.
|
|
30
|
+
import { t as j } from "../chunks/RedirectCard.CKQEtQnm.js";
|
|
31
31
|
import { t as M } from "../chunks/Divider.BmAL40z9.js";
|
|
32
|
-
import { t as N } from "../chunks/Input.
|
|
32
|
+
import { t as N } from "../chunks/Input.CpnF5RXW.js";
|
|
33
33
|
import { t as P } from "../chunks/InputNumber.CUVPnyxG.js";
|
|
34
34
|
import { t as F } from "../chunks/Radio.CEJd1j6E.js";
|
|
35
35
|
import { t as I } from "../chunks/Rate.66ssppnZ.js";
|
|
36
|
-
import { t as L } from "../chunks/RichText.
|
|
36
|
+
import { t as L } from "../chunks/RichText.DnxqGaDh.js";
|
|
37
37
|
import { AntAffix as R, AntAlert as z, AntAnchor as B, AntApp as V, AntAutoComplete as H, AntAvatar as U, AntBackTop as W, AntBadge as G, AntBreadcrumb as K, AntButton as q, AntCalendar as J, AntCard as Y, AntCarousel as X, AntCascader as Z, AntCheckbox as Q, AntCol as $, AntCollapse as ee, AntColorPicker as te, AntConfigProvider as ne, AntDatePicker as re, AntDescriptions as ie, AntDivider as ae, AntDrawer as oe, AntDropdown as se, AntEmpty as ce, AntFlex as le, AntFloatButton as ue, AntForm as de, AntGrid as fe, AntImage as pe, AntInput as me, AntInputNumber as he, AntLayout as ge, AntList as _e, AntMentions as ve, AntMenu as ye, AntModal as be, AntPagination as xe, AntPopconfirm as Se, AntPopover as Ce, AntProgress as we, AntQRCode as Te, AntRadio as Ee, AntRate as De, AntResult as Oe, AntRow as ke, AntSegmented as Ae, AntSelect as je, AntSkeleton as Me, AntSlider as Ne, AntSpace as Pe, AntSpin as Fe, AntStatistic as Ie, AntSteps as Le, AntSwitch as Re, AntTable as ze, AntTabs as Be, AntTag as Ve, AntTimePicker as He, AntTimeline as Ue, AntTooltip as We, AntTour as Ge, AntTransfer as Ke, AntTree as qe, AntTreeSelect as Je, AntTypography as Ye, AntUpload as Xe, AntWatermark as Ze } from "./Ant/index.js";
|
|
38
|
-
import { t as Qe } from "../chunks/SearchInput.
|
|
39
|
-
import { t as $e } from "../chunks/Select.
|
|
38
|
+
import { t as Qe } from "../chunks/SearchInput.Bfq_95YB.js";
|
|
39
|
+
import { t as $e } from "../chunks/Select.B5NPJspZ.js";
|
|
40
40
|
import { t as et } from "../chunks/DatePicker.B6MnduRh.js";
|
|
41
41
|
import { KitAutoComplete as tt } from "./DataEntry/AutoComplete/index.js";
|
|
42
42
|
import { t as nt } from "../chunks/Progress.5NGz8Onb.js";
|
|
43
|
-
import { t as rt } from "../chunks/Upload.
|
|
43
|
+
import { t as rt } from "../chunks/Upload.BfvVXup8.js";
|
|
44
44
|
import { t as it } from "../chunks/Slider.DqG7lOzt.js";
|
|
45
45
|
import { t as at } from "../chunks/ColorPicker.CIfnJxzt.js";
|
|
46
|
-
import { t as ot } from "../chunks/Filter.
|
|
47
|
-
import { t as st } from "../chunks/TreeSelect
|
|
48
|
-
import { t as ct } from "../chunks/Alert.
|
|
49
|
-
import { n as lt, r as ut, t as dt } from "../chunks/SnackBar.
|
|
50
|
-
import { t as ft } from "../chunks/Notification.
|
|
46
|
+
import { t as ot } from "../chunks/Filter.BZGFrvpc.js";
|
|
47
|
+
import { t as st } from "../chunks/TreeSelect.7mmtfJka.js";
|
|
48
|
+
import { t as ct } from "../chunks/Alert.re9UIUJW.js";
|
|
49
|
+
import { n as lt, r as ut, t as dt } from "../chunks/SnackBar.C7_Izy5H.js";
|
|
50
|
+
import { t as ft } from "../chunks/Notification.Bb6eMeLZ.js";
|
|
51
51
|
import { t as pt } from "../chunks/Skeleton.w4TjsphH.js";
|
|
52
52
|
import { t as mt } from "../chunks/Section.DX_VJj4c.js";
|
|
53
53
|
import { t as ht } from "../chunks/Grid.C52krwRd.js";
|
|
54
|
-
import { t as gt } from "../chunks/Header.
|
|
55
|
-
import { t as _t } from "../chunks/SideMenu.
|
|
56
|
-
import { t as vt } from "../chunks/PageLayout.
|
|
57
|
-
import { t as yt } from "../chunks/PageHeader.
|
|
54
|
+
import { t as gt } from "../chunks/Header.Dl7DyHcE.js";
|
|
55
|
+
import { t as _t } from "../chunks/SideMenu.BFzOBedG.js";
|
|
56
|
+
import { t as vt } from "../chunks/PageLayout.BRfgQjmH.js";
|
|
57
|
+
import { t as yt } from "../chunks/PageHeader.D-7r_SAE.js";
|
|
58
58
|
import { t as bt } from "../chunks/Steps.Cv9QH9E2.js";
|
|
59
59
|
import { t as xt } from "../chunks/Pagination.D0KoqOs0.js";
|
|
60
|
-
import { n as St, r as Ct, t as wt } from "../chunks/SidePanel.
|
|
60
|
+
import { n as St, r as Ct, t as wt } from "../chunks/SidePanel.CXF0Xm2A.js";
|
|
61
61
|
export { R as AntAffix, z as AntAlert, B as AntAnchor, V as AntApp, H as AntAutoComplete, U as AntAvatar, W as AntBackTop, G as AntBadge, K as AntBreadcrumb, q as AntButton, J as AntCalendar, Y as AntCard, X as AntCarousel, Z as AntCascader, Q as AntCheckbox, $ as AntCol, ee as AntCollapse, te as AntColorPicker, ne as AntConfigProvider, re as AntDatePicker, ie as AntDescriptions, ae as AntDivider, oe as AntDrawer, se as AntDropdown, ce as AntEmpty, le as AntFlex, ue as AntFloatButton, de as AntForm, fe as AntGrid, pe as AntImage, me as AntInput, he as AntInputNumber, ge as AntLayout, _e as AntList, ve as AntMentions, ye as AntMenu, be as AntModal, xe as AntPagination, Se as AntPopconfirm, Ce as AntPopover, we as AntProgress, Te as AntQRCode, Ee as AntRadio, De as AntRate, Oe as AntResult, ke as AntRow, Ae as AntSegmented, je as AntSelect, Me as AntSkeleton, Ne as AntSlider, Pe as AntSpace, Fe as AntSpin, Ie as AntStatistic, Le as AntSteps, Re as AntSwitch, ze as AntTable, Be as AntTabs, Ve as AntTag, He as AntTimePicker, Ue as AntTimeline, We as AntTooltip, Ge as AntTour, Ke as AntTransfer, qe as AntTree, Je as AntTreeSelect, Ye as AntTypography, Xe as AntUpload, Ze as AntWatermark, ct as KitAlert, e as KitApp, tt as KitAutoComplete, a as KitAvatar, o as KitBadge, m as KitBreadcrumb, _ as KitButton, f as KitCheckableTile, d as KitCheckbox, S as KitCollapse, at as KitColorPicker, s as KitComment, et as KitDatePicker, M as KitDivider, v as KitDropDown, t as KitEmpty, w as KitError, ot as KitFilter, ht as KitGrid, gt as KitHeader, y as KitIcon, l as KitIdCard, C as KitImage, N as KitInput, P as KitInputNumber, u as KitInputWrapper, b as KitItemCard, T as KitItemList, x as KitLoader, g as KitModal, ft as KitNotification, yt as KitPageHeader, vt as KitPageLayout, xt as KitPagination, nt as KitProgress, F as KitRadio, I as KitRate, j as KitRedirectCard, L as KitRichText, Qe as KitSearchInput, mt as KitSection, $e as KitSelect, _t as KitSideMenu, wt as KitSidePanel, St as KitSidePanelContent, Ct as KitSidePanelHeader, pt as KitSkeleton, it as KitSlider, dt as KitSnackBarProvider, i as KitSpace, bt as KitSteps, p as KitSwitch, D as KitTable, E as KitTableExpandButton, O as KitTabs, h as KitTag, c as KitThread, r as KitTooltip, A as KitTour, k as KitTree, st as KitTreeSelect, n as KitTypography, rt as KitUpload, lt as closeKitSnackBar, ut as openKitSnackBar };
|
package/dist/assets/Alert.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._kit-
|
|
1
|
+
._kit-alert_1rium_1{--kit-alert-background-color:var(--general-utilities-warning-light);--kit-alert-border-color:var(--general-utilities-warning-default);--kit-alert-divider-color:var(--general-utilitis-warning-medium);--kit-alert-toast-max-width:400;padding:calc(var(--general-spacing-s) * 1px) 0;border:1px solid var(--kit-alert-border-color);background:var(--kit-alert-background-color);border-radius:calc(var(--general-border-radius-m) * 1px);font-family:var(--general-typography-fontFamily);font-style:var(--general-typography-fontStyle);font-weight:var(--general-typography-defaultFontWeight);position:relative}._kit-alert_1rium_1.toast-alert{max-width:calc(var(--kit-alert-toast-max-width) * 1px)}._kit-alert_1rium_1.success{--kit-alert-background-color:var(--general-utilities-success-light);--kit-alert-border-color:var(--general-utilities-success-default);--kit-alert-divider-color:var(--general-utilities-success-medium)}._kit-alert_1rium_1.info{--kit-alert-background-color:var(--general-utilities-info-light);--kit-alert-border-color:var(--general-utilities-main-default);--kit-alert-divider-color:var(--general-utilities-main-medium)}._kit-alert_1rium_1.warning{--kit-alert-background-color:var(--general-utilities-warning-light);--kit-alert-border-color:var(--general-utilities-warning-default);--kit-alert-divider-color:var(--general-utilities-warning-medium)}._kit-alert_1rium_1.error{--kit-alert-background-color:var(--general-utilities-error-light);--kit-alert-border-color:var(--general-utilities-error-default);--kit-alert-divider-color:var(--general-utilities-error-medium)}._kit-alert_1rium_1 .kit-alert-main-content{padding:calc(var(--general-spacing-none) * 1px) calc(var(--general-spacing-s) * 1px);grid-template-columns:auto 1fr auto;display:grid}._kit-alert_1rium_1 .kit-alert-main-content:has(.description):has(.message){grid-template-areas:"icon message close""icon desc desc"}._kit-alert_1rium_1 .kit-alert-main-content:has(.description):not(:has(.message)){grid-template-areas:"icon desc close";align-items:center}._kit-alert_1rium_1 .kit-alert-main-content:has(.description):not(:has(.message)) .description{margin-top:calc(var(--general-spacing-none) * 1px)}._kit-alert_1rium_1 .kit-alert-main-content:not(:has(.description)){grid-template-areas:"icon message close";align-items:center}._kit-alert_1rium_1 .kit-alert-main-content .icon{color:var(--kit-alert-border-color);margin-right:calc(var(--general-spacing-s) * 1px);font-size:calc(var(--general-typography-fontSize2) * 1px);grid-area:icon}._kit-alert_1rium_1 .kit-alert-main-content .message{grid-area:message}._kit-alert_1rium_1 .kit-alert-main-content .close{top:calc(var(--general-spacing-s) * 1px);right:calc(var(--general-spacing-s) * 1px);color:var(--kit-alert-border-color);padding-right:calc(var(--general-spacing-none) * 1px);padding-left:calc(var(--general-spacing-s) * 1px);cursor:pointer;background:0 0;border:none;grid-area:close}._kit-alert_1rium_1 .kit-alert-main-content .description{grid-area:desc}._kit-alert_1rium_1 .kit-alert-main-content .description:not(:first-child){margin-top:calc(var(--general-spacing-xs) * 1px)}._kit-alert_1rium_1 .divider{margin-top:calc(var(--general-spacing-s) * 1px);border-top:1px solid var(--kit-alert-divider-color)}._kit-alert_1rium_1 .custom-placeholder{padding:calc(var(--general-spacing-none) * 1px) calc(var(--general-spacing-s) * 1px);margin-top:calc(var(--general-spacing-xs) * 1px);grid-area:actions}._kit-alert_1rium_1 details{padding:calc(var(--general-spacing-none) * 1px) calc(var(--general-spacing-s) * 1px);margin-top:calc(var(--general-spacing-xs) * 1px);grid-area:details}._kit-alert_1rium_1 details[open] summary{list-style:none}._kit-alert_1rium_1 details .alert-details-caret{transition:all .1s ease-in-out}._kit-alert_1rium_1 details[open] .alert-details-caret{transform:rotate(90deg)}._kit-alert_1rium_1 details summary{margin-bottom:calc(var(--general-spacing-xs) * 1px);height:calc(var(--general-spacing-l) * 1px);cursor:pointer;align-items:center;list-style:none;display:flex;position:relative}._kit-alert_1rium_1 details summary::-webkit-details-marker{display:none}._kit-alert_1rium_1 details summary svg{width:calc(var(--general-spacing-s) * 1px);text-align:left}._kit-alert_1rium_1 details summary span{padding-left:calc(var(--general-spacing-xs) * 1px)}._kit-alert_1rium_1 details summary::marker{display:none}
|