@cwellt_software/cwellt-reactjs-lib 1.5.5 → 1.6.1
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/content/icons/IconLibrary.stories.tsx +18 -0
- package/dist/index.cjs.js +117 -93
- package/dist/index.css +2 -2
- package/dist/index.d.ts +63 -42
- package/dist/index.es.js +117 -93
- package/dist/src/components/control/action/contextmenu/CwAnchoredMenu.d.ts +1 -1
- package/dist/src/components/control/action/contextmenu/CwAnchoredMenu.d.ts.map +1 -1
- package/dist/src/components/control/action/contextmenu/CwContextMenu.d.ts +2 -3
- package/dist/src/components/control/action/contextmenu/CwContextMenu.d.ts.map +1 -1
- package/dist/src/components/control/choice/dropdown/CwDropdownFilter.d.ts +4 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownFilter.d.ts.map +1 -1
- package/dist/src/components/control/input/any/CwInput.d.ts +4 -0
- package/dist/src/components/control/input/any/CwInput.d.ts.map +1 -1
- package/dist/src/components/control/input/color/CwColorPicker.d.ts +2 -3
- package/dist/src/components/control/input/color/CwColorPicker.d.ts.map +1 -1
- package/dist/src/components/control/input/color/CwInputColor.d.ts +1 -2
- package/dist/src/components/control/input/color/CwInputColor.d.ts.map +1 -1
- package/dist/src/components/control/input/date-text/CwInputDateText.d.ts +4 -0
- package/dist/src/components/control/input/date-text/CwInputDateText.d.ts.map +1 -1
- package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts +1 -2
- package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts +0 -1
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts +0 -1
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts +0 -1
- package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts +0 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts.map +1 -1
- package/dist/src/components/control/input/text/CwInputText.d.ts +3 -4
- package/dist/src/components/control/input/text/CwInputText.d.ts.map +1 -1
- package/dist/src/components/control/input/text-area/CwTextArea.d.ts +1 -1
- package/dist/src/components/control/input/text-area/CwTextArea.d.ts.map +1 -1
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.d.ts +1 -2
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.d.ts.map +1 -1
- package/dist/src/components/display/data/accordion/CwAccordionContainer.d.ts +2 -4
- package/dist/src/components/display/data/accordion/CwAccordionContainer.d.ts.map +1 -1
- package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.d.ts +4 -0
- package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.d.ts.map +1 -1
- package/dist/src/components/display/data/tooltip_manager/CwTooltip.d.ts +1 -2
- package/dist/src/components/display/data/tooltip_manager/CwTooltip.d.ts.map +1 -1
- package/dist/src/components/display/graphics/loading/CwLoading.d.ts +1 -1
- package/dist/src/components/display/graphics/loading/CwLoading.d.ts.map +1 -1
- package/dist/src/components/display/text/tag/CwChip.d.ts +9 -9
- package/dist/src/components/display/text/tag/CwChip.d.ts.map +1 -1
- package/dist/src/components/layout/card/CwCard.d.ts +17 -17
- package/dist/src/components/layout/card/CwCard.d.ts.map +1 -1
- package/dist/src/components/layout/confirmation-popup/CwConfirmationPopup.d.ts +5 -0
- package/dist/src/components/layout/confirmation-popup/CwConfirmationPopup.d.ts.map +1 -1
- package/dist/src/components/layout/dialog/CwDialog.d.ts +1 -1
- package/dist/src/components/layout/dialog/CwDialog.d.ts.map +1 -1
- package/dist/src/components/layout/list/details/CwExpandable.d.ts +2 -1
- package/dist/src/components/layout/list/details/CwExpandable.d.ts.map +1 -1
- package/dist/src/components/layout/modal/hover/CwModalHover.d.ts +2 -1
- package/dist/src/components/layout/modal/hover/CwModalHover.d.ts.map +1 -1
- package/dist/src/components/layout/table/grouped/CwTableGrouped.d.ts +1 -0
- package/dist/src/components/layout/table/grouped/CwTableGrouped.d.ts.map +1 -1
- package/package.json +11 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwExpandable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/list/details/CwExpandable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,iBAAiB,EAAqB,MAAM,OAAO,CAAC;AAEnF,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,EAAE,WAAW,CAAC;IAC7G,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,8CAA8C;IAC9C,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,gDAAgD;IAChD,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,IAAI,CAAC;CACnC;AAED
|
|
1
|
+
{"version":3,"file":"CwExpandable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/list/details/CwExpandable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,iBAAiB,EAAqB,MAAM,OAAO,CAAC;AAEnF,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,EAAE,WAAW,CAAC;IAC7G,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,8CAA8C;IAC9C,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,gDAAgD;IAChD,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,UAAU,KAAK,IAAI,CAAC;CACnC;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA2B9C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,EAE/B,CAAC"}
|
|
@@ -6,7 +6,8 @@ export interface CwModalHoverProps extends Omit<HTMLProps<HTMLDialogElement>, "c
|
|
|
6
6
|
hovereable: JSX.Element;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
* A modal that appears when an element is hovered
|
|
9
|
+
* A modal that appears when an element is hovered.
|
|
10
|
+
* Preferably avoid using it, it needs a refactor.
|
|
10
11
|
* @param children Contents of the modal
|
|
11
12
|
* @param hovereable Element to hover to display the modal
|
|
12
13
|
* @param onFirstOpened Function to run only once when the modal opens for the first time
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwModalHover.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/modal/hover/CwModalHover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAEzD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC;IACzF,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,6CAA6C;IAC7C,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC;CACxB;AAED
|
|
1
|
+
{"version":3,"file":"CwModalHover.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/modal/hover/CwModalHover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAEzD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC;IACzF,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,6CAA6C;IAC7C,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC;CACxB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAsE9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwTableGrouped.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/table/grouped/CwTableGrouped.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE;QAAE,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,EAAE,CAAC;CACvD;AAED,MAAM,WAAW,wBAAwB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,sBAAsB,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9C,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,mBAAmB;IACnC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED
|
|
1
|
+
{"version":3,"file":"CwTableGrouped.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/table/grouped/CwTableGrouped.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE;QAAE,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,EAAE,CAAC;CACvD;AAED,MAAM,WAAW,wBAAwB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,sBAAsB,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9C,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,mBAAmB;IACnC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA8ClD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cwellt_software/cwellt-reactjs-lib",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -19,13 +19,17 @@
|
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"dev": "vite",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
23
|
+
"build-storybook": "storybook build",
|
|
22
24
|
"start": "rollup -c --watch",
|
|
23
25
|
"test": "vitest run",
|
|
24
26
|
"lint": "eslint **/*.{ts,tsx} --fix",
|
|
25
|
-
"build": "npm run lint && npm test && rollup -c",
|
|
26
|
-
"release": "rollup -c",
|
|
27
|
+
"build": "npm run lint && npm test && rollup -c && npm run tokens:check",
|
|
28
|
+
"release": "rollup -c && npm run tokens:check",
|
|
27
29
|
"link": "npm link",
|
|
28
30
|
"build:quick": "rollup -c",
|
|
31
|
+
"tokens:check": "node scripts/token-parity.mjs --check",
|
|
32
|
+
"tokens:baseline": "node scripts/token-parity.mjs --write-baseline",
|
|
29
33
|
"publish:npm": "npm install && npm run build && npm pack --dry-run && npm publish --access public"
|
|
30
34
|
},
|
|
31
35
|
"peerDependencies": {
|
|
@@ -34,6 +38,8 @@
|
|
|
34
38
|
},
|
|
35
39
|
"devDependencies": {
|
|
36
40
|
"@rollup/plugin-typescript": "12.3.0",
|
|
41
|
+
"@storybook/addon-docs": "10.6.0",
|
|
42
|
+
"@storybook/react-vite": "10.6.0",
|
|
37
43
|
"@testing-library/jest-dom": "^6.6.3",
|
|
38
44
|
"@testing-library/react": "^16.1.0",
|
|
39
45
|
"@types/eslint__js": "^8.42.3",
|
|
@@ -47,6 +53,7 @@
|
|
|
47
53
|
"@vitejs/plugin-react": "^5.0.4",
|
|
48
54
|
"cssnano": "^7.1.4",
|
|
49
55
|
"csstype": "^3.2.3",
|
|
56
|
+
"culori": "^4.0.2",
|
|
50
57
|
"eslint": "^9.14.0",
|
|
51
58
|
"eslint-plugin-react": "^7.37.2",
|
|
52
59
|
"globals": "^15.12.0",
|
|
@@ -56,6 +63,7 @@
|
|
|
56
63
|
"postcss-url": "^10.1.3",
|
|
57
64
|
"rollup": "^4.26.0",
|
|
58
65
|
"rollup-plugin-dts": "^6.2.3",
|
|
66
|
+
"storybook": "10.6.0",
|
|
59
67
|
"stylelint": "^16.10.0",
|
|
60
68
|
"stylelint-config-standard": "^36.0.1",
|
|
61
69
|
"temporal-polyfill": "^0.3.2",
|