@chayns-components/core 5.0.0-beta.410 → 5.0.0-beta.413
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/lib/components/checkbox/Checkbox.d.ts +1 -1
- package/lib/components/checkbox/Checkbox.js.map +1 -1
- package/lib/components/input/Input.d.ts +4 -0
- package/lib/components/input/Input.js +5 -3
- package/lib/components/input/Input.js.map +1 -1
- package/lib/components/input/Input.styles.d.ts +4 -1
- package/lib/components/input/Input.styles.js +29 -10
- package/lib/components/input/Input.styles.js.map +1 -1
- package/lib/components/number-input/NumberInput.d.ts +9 -1
- package/lib/components/number-input/NumberInput.js +40 -21
- package/lib/components/number-input/NumberInput.js.map +1 -1
- package/lib/components/number-input/constants/number.d.ts +1 -0
- package/lib/components/number-input/constants/number.js +3 -2
- package/lib/components/number-input/constants/number.js.map +1 -1
- package/lib/components/number-input/utils/number.d.ts +4 -2
- package/lib/components/number-input/utils/number.js +30 -2
- package/lib/components/number-input/utils/number.js.map +1 -1
- package/lib/components/opening-times/OpeningTimes.d.ts +19 -0
- package/lib/components/opening-times/OpeningTimes.js +92 -0
- package/lib/components/opening-times/OpeningTimes.js.map +1 -0
- package/lib/components/opening-times/OpeningTimes.styles.d.ts +8 -0
- package/lib/components/opening-times/OpeningTimes.styles.js +19 -0
- package/lib/components/opening-times/OpeningTimes.styles.js.map +1 -0
- package/lib/components/opening-times/opening-inputs/OpeningInputs.d.ts +10 -0
- package/lib/components/opening-times/opening-inputs/OpeningInputs.js +95 -0
- package/lib/components/opening-times/opening-inputs/OpeningInputs.js.map +1 -0
- package/lib/components/opening-times/opening-inputs/OpeningInputs.styles.d.ts +2 -0
- package/lib/components/opening-times/opening-inputs/OpeningInputs.styles.js +13 -0
- package/lib/components/opening-times/opening-inputs/OpeningInputs.styles.js.map +1 -0
- package/lib/components/opening-times/opening-inputs/opening-input/OpeningInput.d.ts +14 -0
- package/lib/components/opening-times/opening-inputs/opening-input/OpeningInput.js +100 -0
- package/lib/components/opening-times/opening-inputs/opening-input/OpeningInput.js.map +1 -0
- package/lib/components/opening-times/opening-inputs/opening-input/OpeningInput.styles.d.ts +274 -0
- package/lib/components/opening-times/opening-inputs/opening-input/OpeningInput.styles.js +46 -0
- package/lib/components/opening-times/opening-inputs/opening-input/OpeningInput.styles.js.map +1 -0
- package/lib/components/progress-bar/ProgressBar.d.ts +2 -2
- package/lib/components/progress-bar/ProgressBar.js +2 -2
- package/lib/components/progress-bar/ProgressBar.js.map +1 -1
- package/lib/components/slider/Slider.d.ts +2 -2
- package/lib/components/slider/Slider.js +4 -4
- package/lib/components/slider/Slider.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -1
- package/lib/types/openingTimes.d.ts +19 -0
- package/lib/types/openingTimes.js +13 -0
- package/lib/types/openingTimes.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface Weekday {
|
|
2
|
+
name: string;
|
|
3
|
+
id: number;
|
|
4
|
+
}
|
|
5
|
+
export interface Time {
|
|
6
|
+
start: string;
|
|
7
|
+
end: string;
|
|
8
|
+
}
|
|
9
|
+
export interface OpeningTime {
|
|
10
|
+
weekdayId: Weekday['id'];
|
|
11
|
+
id: string;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
times: Time[];
|
|
14
|
+
}
|
|
15
|
+
export declare enum OpeningTimesButtonType {
|
|
16
|
+
NONE = 0,
|
|
17
|
+
ADD = 1,
|
|
18
|
+
REMOVE = 2
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.OpeningTimesButtonType = void 0;
|
|
7
|
+
let OpeningTimesButtonType = exports.OpeningTimesButtonType = /*#__PURE__*/function (OpeningTimesButtonType) {
|
|
8
|
+
OpeningTimesButtonType[OpeningTimesButtonType["NONE"] = 0] = "NONE";
|
|
9
|
+
OpeningTimesButtonType[OpeningTimesButtonType["ADD"] = 1] = "ADD";
|
|
10
|
+
OpeningTimesButtonType[OpeningTimesButtonType["REMOVE"] = 2] = "REMOVE";
|
|
11
|
+
return OpeningTimesButtonType;
|
|
12
|
+
}({});
|
|
13
|
+
//# sourceMappingURL=openingTimes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openingTimes.js","names":["OpeningTimesButtonType","exports"],"sources":["../../src/types/openingTimes.ts"],"sourcesContent":["export interface Weekday {\n name: string;\n id: number;\n}\n\nexport interface Time {\n start: string;\n end: string;\n}\n\nexport interface OpeningTime {\n weekdayId: Weekday['id'];\n id: string;\n isDisabled?: boolean;\n times: Time[];\n}\n\nexport enum OpeningTimesButtonType {\n NONE,\n ADD,\n REMOVE,\n}\n"],"mappings":";;;;;;IAiBYA,sBAAsB,GAAAC,OAAA,CAAAD,sBAAA,0BAAtBA,sBAAsB;EAAtBA,sBAAsB,CAAtBA,sBAAsB;EAAtBA,sBAAsB,CAAtBA,sBAAsB;EAAtBA,sBAAsB,CAAtBA,sBAAsB;EAAA,OAAtBA,sBAAsB;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chayns-components/core",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.413",
|
|
4
4
|
"description": "A set of beautiful React components for developing your own applications with chayns.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chayns",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "95cff0ed06c469ae12ced9633b2625b60e3f09cc"
|
|
74
74
|
}
|