aristid-ds 1.0.1 → 1.1.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/CHANGELOG.md +19 -0
- package/README.md +9 -1
- package/dist/Kit/App/index.js +1 -1
- package/dist/Kit/DataDisplay/Card/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/Tag/index.js +1 -1
- package/dist/Kit/DataDisplay/index.js +1 -1
- package/dist/Kit/DataEntry/AutoComplete/index.js +25 -17
- package/dist/Kit/DataEntry/Checkbox/index.d.ts +2 -2
- package/dist/Kit/DataEntry/Checkbox/index.js +4 -4
- package/dist/Kit/DataEntry/ColorPicker/index.js +1 -1
- package/dist/Kit/DataEntry/DatePicker/RangePicker.d.ts +2 -2
- package/dist/Kit/DataEntry/DatePicker/index.js +1 -1
- package/dist/Kit/DataEntry/Input/index.js +1 -1
- package/dist/Kit/DataEntry/InputNumber/index.js +1 -1
- package/dist/Kit/DataEntry/InputWrapper/index.js +1 -1
- package/dist/Kit/DataEntry/Radio/context.d.ts +1 -1
- package/dist/Kit/DataEntry/Radio/index.d.ts +1 -1
- package/dist/Kit/DataEntry/Radio/index.js +6 -6
- package/dist/Kit/DataEntry/Rate/index.d.ts +1 -1
- package/dist/Kit/DataEntry/Select/index.js +2 -2
- package/dist/Kit/DataEntry/Slider/index.d.ts +1 -1
- package/dist/Kit/DataEntry/Upload/Upload.d.ts +1 -1
- package/dist/Kit/DataEntry/index.js +2 -2
- package/dist/Kit/Feedback/Modal/index.js +1 -1
- package/dist/Kit/Feedback/Notification/index.js +1 -1
- package/dist/Kit/Feedback/index.js +1 -1
- package/dist/Kit/General/Typography/index.js +1 -1
- package/dist/Kit/Layout/Space/index.d.ts +1 -1
- package/dist/Kit/Navigation/Header/index.js +1 -1
- package/dist/Kit/Navigation/Menu/index.js +1 -1
- package/dist/Kit/Navigation/index.js +1 -1
- package/dist/Kit/index.js +2 -2
- package/dist/assets/InputWrapper.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/chunks/{InputWrapper.sHItZx7l.js → InputWrapper.7RKY3QZ2.js} +7 -7
- package/dist/chunks/{KitNotification.CO3zqMt0.js → KitNotification.3hnPgsKv.js} +1 -1
- package/dist/chunks/{index.kVWdzwin.js → index.0RmfE2Nm.js} +119 -117
- package/dist/chunks/{notification-provider.kV-P-2Jh.js → notification-provider.KGowspef.js} +10 -10
- package/dist/index.es.js +2 -2
- package/package.json +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.0](https://www.npmjs.com/package/aristid-ds/v/1.1.0) (2024-02-28)
|
|
4
|
+
### ✨ Features
|
|
5
|
+
* **Nightly build:**
|
|
6
|
+
* publish a nightly version of the package under `next`. (@evoiron)
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes
|
|
9
|
+
* **AutoComplete:**
|
|
10
|
+
* Fix crashing release (@evoiron)
|
|
11
|
+
|
|
12
|
+
* **AutoComplete:**
|
|
13
|
+
* Fix dropdown border when focused or when a status is set (@philippechevieux)
|
|
14
|
+
|
|
15
|
+
* **Select:**
|
|
16
|
+
* Fix dropdown border when focused or when a status is set (@philippechevieux)
|
|
17
|
+
* Fix dropdown border on click on arrow (@renaudamsellem)
|
|
18
|
+
|
|
19
|
+
* **InputWrapper:**
|
|
20
|
+
* Fix border default color (@philippechevieux)
|
|
21
|
+
|
|
3
22
|
|
|
4
23
|
|
|
5
24
|
## [1.0.1](https://www.npmjs.com/package/aristid-ds/v/1.0.1) (2024-02-26)
|
package/README.md
CHANGED
|
@@ -21,6 +21,7 @@ ARiSTiD Design System Readme.
|
|
|
21
21
|
- [Component code](#component-code)
|
|
22
22
|
- [Component theming](#component-theming)
|
|
23
23
|
- [Component documentation](#component-documentation)
|
|
24
|
+
- [Nightly build](#nightly-build)
|
|
24
25
|
- [Important](#important)
|
|
25
26
|
- [Contributing](#contributing)
|
|
26
27
|
- [Commit](#commit)
|
|
@@ -451,9 +452,16 @@ Every components **style** of the design system can be **override** by tokens.
|
|
|
451
452
|
After the script run, section `Design Tokens` documentation is up to date with all design tokens.
|
|
452
453
|
|
|
453
454
|
|
|
455
|
+
## Nightly build
|
|
456
|
+
A nightly version of the package is published on daily basis on branch develop (assuming new commits have been pushed on develop branch). To use it just install the more recent next version :
|
|
457
|
+
|
|
458
|
+
```sh
|
|
459
|
+
yarn add aristid-ds@next
|
|
460
|
+
```
|
|
461
|
+
**Note:** Though it is useful to test upcoming feature, this version should **NEVER** be used in production
|
|
454
462
|
|
|
455
463
|
## Important
|
|
456
|
-
Every import of antd library should pass by `antd` or
|
|
464
|
+
Every import of antd library should pass by `antd` or `ant/es`. `lib` import will lead to issues in the build process.
|
|
457
465
|
|
|
458
466
|
## Contributing
|
|
459
467
|
|
package/dist/Kit/App/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { frFR as m } from "../../translation/fr-FR/index.js";
|
|
|
13
13
|
import { enUS as I } from "../../translation/en-US/index.js";
|
|
14
14
|
import { K as F, u as R } from "../../chunks/useKitLocale.96CdK3og.js";
|
|
15
15
|
import { mapKitLocaleToAntdLocale as T } from "../../translation/utils/index.js";
|
|
16
|
-
import { d as $ } from "../../chunks/notification-provider.
|
|
16
|
+
import { d as $ } from "../../chunks/notification-provider.KGowspef.js";
|
|
17
17
|
const k = P`
|
|
18
18
|
.${(t) => t.id} {
|
|
19
19
|
${(t) => d(t.customTheme)};
|
|
@@ -8,7 +8,7 @@ import "../../DataEntry/Input/index.js";
|
|
|
8
8
|
import "../../DataEntry/InputNumber/index.js";
|
|
9
9
|
import "../../DataEntry/Radio/index.js";
|
|
10
10
|
import "../../DataEntry/Rate/index.js";
|
|
11
|
-
import { K as y } from "../../../chunks/index.
|
|
11
|
+
import { K as y } from "../../../chunks/index.0RmfE2Nm.js";
|
|
12
12
|
import "../../DataEntry/Switch/index.js";
|
|
13
13
|
import "../../DataEntry/DatePicker/index.js";
|
|
14
14
|
import "../../DataEntry/AutoComplete/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "classnames";
|
|
3
|
-
import { a as q } from "../../../chunks/index.
|
|
3
|
+
import { a as q } from "../../../chunks/index.0RmfE2Nm.js";
|
|
4
4
|
import "../../General/Button/index.js";
|
|
5
5
|
import "../../General/Typography/index.js";
|
|
6
6
|
import "../../General/Icon/index.js";
|
|
@@ -4,7 +4,7 @@ import "../../DataEntry/Input/index.js";
|
|
|
4
4
|
import "../../DataEntry/InputNumber/index.js";
|
|
5
5
|
import "../../DataEntry/Radio/index.js";
|
|
6
6
|
import "../../DataEntry/Rate/index.js";
|
|
7
|
-
import { c as u } from "../../../chunks/index.
|
|
7
|
+
import { c as u } from "../../../chunks/index.0RmfE2Nm.js";
|
|
8
8
|
import "../../DataEntry/Switch/index.js";
|
|
9
9
|
import "../../DataEntry/DatePicker/index.js";
|
|
10
10
|
import "../../DataEntry/AutoComplete/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KitAvatar as o } from "./Avatar/index.js";
|
|
2
2
|
import { KitBadge as e } from "./Badge/index.js";
|
|
3
3
|
import { KitLegacyCard as K } from "./LegacyCard/index.js";
|
|
4
|
-
import { K as p, b as f, a as x, c as s, d } from "../../chunks/index.
|
|
4
|
+
import { K as p, b as f, a as x, c as s, d } from "../../chunks/index.0RmfE2Nm.js";
|
|
5
5
|
import { KitImage as g } from "./Image/index.js";
|
|
6
6
|
import { KitTooltip as l } from "./Tooltip/index.js";
|
|
7
7
|
import { KitTree as b } from "./Tree/index.js";
|
|
@@ -1,26 +1,34 @@
|
|
|
1
1
|
import "../../../assets/index9.css";
|
|
2
|
-
import t, { forwardRef as
|
|
3
|
-
import { AutoComplete as
|
|
4
|
-
import { KitInput as
|
|
5
|
-
import { K as
|
|
6
|
-
import { FontAwesomeIcon as
|
|
7
|
-
import { faMagnifyingGlass as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
2
|
+
import t, { forwardRef as A, useState as E } from "react";
|
|
3
|
+
import { AutoComplete as F } from "antd";
|
|
4
|
+
import { KitInput as I } from "../Input/index.js";
|
|
5
|
+
import { K as N } from "../../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
6
|
+
import { FontAwesomeIcon as x } from "@fortawesome/react-fontawesome";
|
|
7
|
+
import { faMagnifyingGlass as y } from "@fortawesome/free-solid-svg-icons";
|
|
8
|
+
import h from "classnames";
|
|
9
|
+
const O = {
|
|
10
10
|
"kit-autocomplete": "_kit-autocomplete_ekz5x_2"
|
|
11
|
-
},
|
|
12
|
-
|
|
11
|
+
}, P = (o, r, e) => h(o, "ant-select-dropdown", "kit-select-dropdown-bottom", {
|
|
12
|
+
"kit-select-dropdown-focus": r,
|
|
13
|
+
"kit-select-dropdown-error": e === "error",
|
|
14
|
+
"kit-select-dropdown-warning": e === "warning"
|
|
15
|
+
}), R = A(({ allowClear: o, label: r, helper: e, autoFocus: i, defaultValue: l, disabled: p, placeholder: f, status: n, value: u, onFocus: s, onBlur: c, popupClassName: d, wrapperClassName: w, ...k }, _) => {
|
|
16
|
+
const [g, a] = E(!1), C = (m) => {
|
|
17
|
+
a(!0), s && s(m);
|
|
18
|
+
}, K = (m) => {
|
|
19
|
+
a(!1), c && c(m);
|
|
20
|
+
};
|
|
13
21
|
return t.createElement(
|
|
14
|
-
|
|
15
|
-
{ label:
|
|
22
|
+
N,
|
|
23
|
+
{ label: r, helper: e, disabled: p, status: n, className: w },
|
|
16
24
|
t.createElement(
|
|
17
|
-
|
|
18
|
-
{ ...
|
|
19
|
-
t.createElement(
|
|
25
|
+
F,
|
|
26
|
+
{ ...k, disabled: p, ref: _, className: O["kit-autocomplete"], popupClassName: P(d, g, n) },
|
|
27
|
+
t.createElement(I, { prefix: t.createElement(x, { icon: y }), allowClear: o, autoFocus: i, defaultValue: l, placeholder: f, status: n, value: u, onBlur: K, onFocus: C })
|
|
20
28
|
)
|
|
21
29
|
);
|
|
22
30
|
});
|
|
23
|
-
|
|
31
|
+
R.displayName = "KitAutoComplete";
|
|
24
32
|
export {
|
|
25
|
-
|
|
33
|
+
R as KitAutoComplete
|
|
26
34
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ForwardRefExoticComponent, ForwardRefRenderFunction } from 'react';
|
|
2
2
|
import { IKitCheckbox, ICheckboxGroup } from './types';
|
|
3
|
-
export type { CheckboxChangeEvent } from 'antd/
|
|
4
|
-
export type { CheckboxGroupProps, CheckboxOptionType } from 'antd/
|
|
3
|
+
export type { CheckboxChangeEvent } from 'antd/es/checkbox/Checkbox';
|
|
4
|
+
export type { CheckboxGroupProps, CheckboxOptionType } from 'antd/es/checkbox/Group';
|
|
5
5
|
type CompoundedComponent = ForwardRefExoticComponent<IKitCheckbox> & {
|
|
6
6
|
Group: ForwardRefRenderFunction<HTMLDivElement, ICheckboxGroup>;
|
|
7
7
|
};
|
|
@@ -3,10 +3,10 @@ import r, { createContext as X, memo as Y, forwardRef as S, useContext as N, use
|
|
|
3
3
|
import { Checkbox as P } from "antd";
|
|
4
4
|
import { u as p } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
5
5
|
import O from "classnames";
|
|
6
|
-
import ee from "rc-util/
|
|
7
|
-
import { ConfigContext as le } from "antd/
|
|
8
|
-
import ae from "antd/
|
|
9
|
-
import { K as te } from "../../../chunks/InputWrapper.
|
|
6
|
+
import ee from "rc-util/es/omit";
|
|
7
|
+
import { ConfigContext as le } from "antd/es/config-provider/";
|
|
8
|
+
import ae from "antd/es/checkbox/style";
|
|
9
|
+
import { K as te } from "../../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
10
10
|
const R = X(null), ne = ({ defaultValue: v, children: o, options: a = [], prefixCls: m, className: l, wrapperClassName: f, status: b, rootClassName: u, style: n, onChange: d, label: x, helper: $, ...t }, A) => {
|
|
11
11
|
const { getPrefixCls: B, direction: D } = N(le), [s, y] = K(t.value || v || []), [T, G] = K([]);
|
|
12
12
|
V(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../assets/index11.css";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { K as p } from "../../../chunks/InputWrapper.
|
|
3
|
+
import { K as p } from "../../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
4
4
|
import { u as n } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
5
5
|
import { ColorPicker as k } from "antd";
|
|
6
6
|
import e from "classnames";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const KitDatePicker: React.ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
3
|
-
locale?: import("antd/
|
|
4
|
-
size?: import("antd/
|
|
3
|
+
locale?: import("antd/es/date-picker/generatePicker").PickerLocale | undefined;
|
|
4
|
+
size?: import("antd/es/button").ButtonSize;
|
|
5
5
|
placement?: "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | undefined;
|
|
6
6
|
bordered?: boolean | undefined;
|
|
7
7
|
status?: "" | "error" | "warning" | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../assets/index22.css";
|
|
2
2
|
import e, { forwardRef as k } from "react";
|
|
3
3
|
import { DatePicker as E } from "antd";
|
|
4
|
-
import { K as I } from "../../../chunks/InputWrapper.
|
|
4
|
+
import { K as I } from "../../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
5
5
|
import { u as _ } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
6
|
import { FontAwesomeIcon as a } from "@fortawesome/react-fontawesome";
|
|
7
7
|
import { faCircleXmark as b, faClock as v, faCalendar as x } from "@fortawesome/free-regular-svg-icons";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../assets/index25.css";
|
|
2
2
|
import t, { forwardRef as d } from "react";
|
|
3
3
|
import { Input as u } from "antd";
|
|
4
|
-
import { K as p } from "../../../chunks/InputWrapper.
|
|
4
|
+
import { K as p } from "../../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
5
5
|
import { u as I } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
6
|
import { FontAwesomeIcon as m } from "@fortawesome/react-fontawesome";
|
|
7
7
|
import { faCircleXmark as f, faEye as N, faEyeSlash as b } from "@fortawesome/free-regular-svg-icons";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../assets/index6.css";
|
|
2
2
|
import s, { forwardRef as c, useState as f } from "react";
|
|
3
3
|
import { InputNumber as l } from "antd";
|
|
4
|
-
import { K as d } from "../../../chunks/InputWrapper.
|
|
4
|
+
import { K as d } from "../../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
5
5
|
import { u as b } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
6
6
|
import I from "classnames";
|
|
7
7
|
const K = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { RadioGroupContextProps } from 'antd/
|
|
2
|
+
import type { RadioGroupContextProps } from 'antd/es/radio/interface';
|
|
3
3
|
declare const RadioGroupContext: import("react").Context<RadioGroupContextProps | null>;
|
|
4
4
|
export declare const RadioGroupContextProvider: import("react").Provider<RadioGroupContextProps | null>;
|
|
5
5
|
export default RadioGroupContext;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import type { KitRadioGroup, KitRadioProps as RadioProps } from './types';
|
|
3
|
-
import type { RadioChangeEvent, RadioChangeEventTarget, RadioGroupButtonStyle, RadioGroupContextProps, RadioGroupOptionType, RadioGroupProps } from 'antd/
|
|
3
|
+
import type { RadioChangeEvent, RadioChangeEventTarget, RadioGroupButtonStyle, RadioGroupContextProps, RadioGroupOptionType, RadioGroupProps } from 'antd/es/radio/interface';
|
|
4
4
|
export { RadioChangeEvent, RadioChangeEventTarget, RadioGroupButtonStyle, RadioGroupContextProps, RadioGroupOptionType, RadioGroupProps };
|
|
5
5
|
type CompoundedComponent = React.ForwardRefExoticComponent<RadioProps> & {
|
|
6
6
|
Group: React.ForwardRefRenderFunction<HTMLDivElement, KitRadioGroup>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../../assets/index26.css";
|
|
2
2
|
import _ from "classnames";
|
|
3
|
-
import q from "rc-util/
|
|
3
|
+
import q from "rc-util/es/hooks/useMergedState";
|
|
4
4
|
import l, { createContext as D, forwardRef as $, useContext as R, memo as H } from "react";
|
|
5
|
-
import { ConfigContext as J } from "antd/
|
|
6
|
-
import O from "antd/
|
|
7
|
-
import Q from "rc-util/
|
|
5
|
+
import { ConfigContext as J } from "antd/es/config-provider/";
|
|
6
|
+
import O from "antd/es/config-provider/SizeContext";
|
|
7
|
+
import Q from "rc-util/es/pickAttrs";
|
|
8
8
|
import { Radio as U } from "antd";
|
|
9
9
|
import { u as X } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
10
|
-
import { K as Y } from "../../../chunks/InputWrapper.
|
|
11
|
-
import Z from "antd/
|
|
10
|
+
import { K as Y } from "../../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
11
|
+
import Z from "antd/es/radio/style";
|
|
12
12
|
const z = D(null), ee = z.Provider, te = {
|
|
13
13
|
"kit-radio": "_kit-radio_1hsx3_2"
|
|
14
14
|
}, p = $((t, m) => {
|
|
@@ -4,8 +4,8 @@ import "antd";
|
|
|
4
4
|
import "../../General/Button/index.js";
|
|
5
5
|
import "../../General/Typography/index.js";
|
|
6
6
|
import "../../General/Icon/index.js";
|
|
7
|
-
import "../../../chunks/InputWrapper.
|
|
8
|
-
import { e as b } from "../../../chunks/index.
|
|
7
|
+
import "../../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
8
|
+
import { e as b } from "../../../chunks/index.0RmfE2Nm.js";
|
|
9
9
|
import "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
10
10
|
import "@fortawesome/react-fontawesome";
|
|
11
11
|
import "@fortawesome/free-regular-svg-icons";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IKitSliderRange, IKitSliderSingle } from './types';
|
|
3
|
-
import type { SliderRef } from 'rc-slider/
|
|
3
|
+
import type { SliderRef } from 'rc-slider/es/Slider';
|
|
4
4
|
export declare const KitSlider: React.ForwardRefExoticComponent<(IKitSliderSingle | IKitSliderRange) & React.RefAttributes<SliderRef>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IKitUpload } from './types';
|
|
3
|
-
import { UploadRef } from 'antd/
|
|
3
|
+
import { UploadRef } from 'antd/es/upload/Upload';
|
|
4
4
|
declare const KitUpload: React.ForwardRefExoticComponent<IKitUpload & React.RefAttributes<UploadRef<any>>>;
|
|
5
5
|
export default KitUpload;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { KitCheckbox as r } from "./Checkbox/index.js";
|
|
2
2
|
import { KitInput as p } from "./Input/index.js";
|
|
3
3
|
import { KitInputNumber as m } from "./InputNumber/index.js";
|
|
4
|
-
import { K } from "../../chunks/InputWrapper.
|
|
4
|
+
import { K } from "../../chunks/InputWrapper.7RKY3QZ2.js";
|
|
5
5
|
import { KitRadio as a } from "./Radio/index.js";
|
|
6
6
|
import { KitRate as l } from "./Rate/index.js";
|
|
7
|
-
import { e as d } from "../../chunks/index.
|
|
7
|
+
import { e as d } from "../../chunks/index.0RmfE2Nm.js";
|
|
8
8
|
import { KitSwitch as n } from "./Switch/index.js";
|
|
9
9
|
import { KitDatePicker as I } from "./DatePicker/index.js";
|
|
10
10
|
import { KitAutoComplete as b } from "./AutoComplete/index.js";
|
|
@@ -15,7 +15,7 @@ import { createRoot as j } from "react-dom/client";
|
|
|
15
15
|
import { KitButton as M } from "../../General/Button/index.js";
|
|
16
16
|
import "../../General/Typography/index.js";
|
|
17
17
|
import { KitIcon as N } from "../../General/Icon/index.js";
|
|
18
|
-
import { useLocale as W } from "antd/
|
|
18
|
+
import { useLocale as W } from "antd/es/locale";
|
|
19
19
|
import { faTriangleExclamation as q, faExclamation as A, faCheck as X, faInfo as $ } from "@fortawesome/free-solid-svg-icons";
|
|
20
20
|
import { uuid as G } from "../../../utils/functions/index.js";
|
|
21
21
|
const H = {
|
|
@@ -2,7 +2,7 @@ import { KitAlert as t } from "./Alert/index.js";
|
|
|
2
2
|
import { KitModal as a } from "./Modal/index.js";
|
|
3
3
|
import { KitProgress as K } from "./Progress/index.js";
|
|
4
4
|
import { KitSnackBarProvider as c, closeKitSnackBar as n, openKitSnackBar as p } from "./SnackBar/index.js";
|
|
5
|
-
import { K as m, u as x } from "../../chunks/KitNotification.
|
|
5
|
+
import { K as m, u as x } from "../../chunks/KitNotification.3hnPgsKv.js";
|
|
6
6
|
export {
|
|
7
7
|
t as KitAlert,
|
|
8
8
|
a as KitModal,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../../assets/index28.css";
|
|
2
2
|
import n, { forwardRef as c, useMemo as m } from "react";
|
|
3
|
-
import _ from "antd/
|
|
3
|
+
import _ from "antd/es/typography/Base";
|
|
4
4
|
import i from "classnames";
|
|
5
5
|
import { isValidColor as f, getColor as N } from "../../../utils/functions/index.js";
|
|
6
6
|
import { u as g } from "../../../chunks/useKitTheme.KSAU-Pdv.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
2
|
import type { IKitSpace } from './types';
|
|
3
|
-
import { SpaceCompactProps } from 'antd/
|
|
3
|
+
import { SpaceCompactProps } from 'antd/es/space/Compact';
|
|
4
4
|
type CompoundedComponent = FunctionComponent<IKitSpace> & {
|
|
5
5
|
Compact: FunctionComponent<SpaceCompactProps>;
|
|
6
6
|
};
|
|
@@ -10,7 +10,7 @@ import "../../DataEntry/Input/index.js";
|
|
|
10
10
|
import "../../DataEntry/InputNumber/index.js";
|
|
11
11
|
import "../../DataEntry/Radio/index.js";
|
|
12
12
|
import "../../DataEntry/Rate/index.js";
|
|
13
|
-
import { f as v } from "../../../chunks/index.
|
|
13
|
+
import { f as v } from "../../../chunks/index.0RmfE2Nm.js";
|
|
14
14
|
import "../../DataEntry/Switch/index.js";
|
|
15
15
|
import "../../DataEntry/DatePicker/index.js";
|
|
16
16
|
import "../../DataEntry/AutoComplete/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KitBreadcrumb as t } from "./Breadcrumb/index.js";
|
|
2
2
|
import { KitDropDown as i } from "./DropDown/index.js";
|
|
3
|
-
import { f as a, g as f } from "../../chunks/index.
|
|
3
|
+
import { f as a, g as f } from "../../chunks/index.0RmfE2Nm.js";
|
|
4
4
|
import { KitSteps as K } from "./Steps/index.js";
|
|
5
5
|
import { KitPagination as n } from "./Pagination/index.js";
|
|
6
6
|
export {
|
package/dist/Kit/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KitAvatar as o } from "./DataDisplay/Avatar/index.js";
|
|
2
2
|
import { KitBadge as e } from "./DataDisplay/Badge/index.js";
|
|
3
3
|
import { KitLegacyCard as i } from "./DataDisplay/LegacyCard/index.js";
|
|
4
|
-
import { K as p, b as A, f as m, a as l, c as f, g as K, e as c, d } from "../chunks/index.
|
|
4
|
+
import { K as p, b as A, f as m, a as l, c as f, g as K, e as c, d } from "../chunks/index.0RmfE2Nm.js";
|
|
5
5
|
import { KitImage as u } from "./DataDisplay/Image/index.js";
|
|
6
6
|
import { KitTooltip as C } from "./DataDisplay/Tooltip/index.js";
|
|
7
7
|
import { KitTree as g } from "./DataDisplay/Tree/index.js";
|
|
@@ -22,7 +22,7 @@ import { KitAlert as X } from "./Feedback/Alert/index.js";
|
|
|
22
22
|
import { KitModal as Z } from "./Feedback/Modal/index.js";
|
|
23
23
|
import { KitProgress as $ } from "./Feedback/Progress/index.js";
|
|
24
24
|
import { KitSnackBarProvider as at, closeKitSnackBar as ot, openKitSnackBar as rt } from "./Feedback/SnackBar/index.js";
|
|
25
|
-
import { K as nt, u as it } from "../chunks/KitNotification.
|
|
25
|
+
import { K as nt, u as it } from "../chunks/KitNotification.3hnPgsKv.js";
|
|
26
26
|
import { KitButton as pt } from "./General/Button/index.js";
|
|
27
27
|
import { KitTypography as mt } from "./General/Typography/index.js";
|
|
28
28
|
import { KitIcon as ft } from "./General/Icon/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! Sass Fairy v1 | (c) roydukkey | https://sass-fairy.com/license */._kit-input-
|
|
1
|
+
/*! Sass Fairy v1 | (c) roydukkey | https://sass-fairy.com/license */._kit-input-wrapper_1cetz_2 .kit-input-wrapper-label{margin-bottom:calc(var(--components-InputWrapper-gap-label, var(--general-spacing-xs)) * 1px)}._kit-input-wrapper_1cetz_2 .kit-input-wrapper-helper{margin-top:calc(var(--components-InputWrapper-gap-helper, var(--general-spacing-xs)) * 1px)}._kit-input-wrapper_1cetz_2 .kit-input-wrapper-label,._kit-input-wrapper_1cetz_2 .kit-input-wrapper-label .ant-typography,._kit-input-wrapper_1cetz_2 .kit-input-wrapper-helper,._kit-input-wrapper_1cetz_2 .kit-input-wrapper-helper .ant-typography{color:var(--components-InputWrapper-colors-typography-default, var(--general-colors-secondary-mediumGrey-mediumGrey500))}._kit-input-wrapper_1cetz_2.bordered>.kit-input-wrapper-content{border:1px solid var(--components-InputWrapper-colors-border-default, var(--general-colors-secondary-mediumGrey-mediumGrey200));border-radius:calc(var(--components-InputWrapper-border-radius, var(--general-border-radius-s)) * 1px);padding:10px}._kit-input-wrapper_1cetz_2.error .kit-input-wrapper-label,._kit-input-wrapper_1cetz_2.error .kit-input-wrapper-label .ant-typography,._kit-input-wrapper_1cetz_2.error .kit-input-wrapper-helper,._kit-input-wrapper_1cetz_2.error .kit-input-wrapper-helper .ant-typography{color:var(--components-InputWrapper-colors-typography-error, var(--general-colors-secondary-red-red400))}._kit-input-wrapper_1cetz_2.error .kit-input-wrapper-content{border-color:var(--components-InputWrapper-colors-border-error, var(--general-colors-secondary-red-red400))}._kit-input-wrapper_1cetz_2.warning .kit-input-wrapper-label,._kit-input-wrapper_1cetz_2.warning .kit-input-wrapper-label .ant-typography,._kit-input-wrapper_1cetz_2.warning .kit-input-wrapper-helper,._kit-input-wrapper_1cetz_2.warning .kit-input-wrapper-helper .ant-typography{color:var(--components-InputWrapper-colors-typography-warning, var(--general-colors-secondary-orange-orange400))}._kit-input-wrapper_1cetz_2.warning .kit-input-wrapper-content{border-color:var(--components-InputWrapper-colors-border-warning, var(--general-colors-secondary-orange-orange400))}._kit-input-wrapper_1cetz_2.disabled .kit-input-wrapper-label,._kit-input-wrapper_1cetz_2.disabled .kit-input-wrapper-label .ant-typography,._kit-input-wrapper_1cetz_2.disabled .kit-input-wrapper-helper,._kit-input-wrapper_1cetz_2.disabled .kit-input-wrapper-helper .ant-typography{color:var(--components-InputWrapper-colors-typography-disabled, var(--general-colors-secondary-mediumGrey-mediumGrey400))}._kit-input-wrapper_1cetz_2.disabled .kit-input-wrapper-content{border-color:var(--components-InputWrapper-colors-border-disabled, var(--general-colors-secondary-mediumGrey-mediumGrey200))}
|