@darajs/ui-widgets 1.18.4 → 1.19.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.
@@ -1,4 +1,4 @@
1
- import { ConfirmationModalProps } from './confirmation-modal-props';
1
+ import { type ConfirmationModalProps } from './confirmation-modal-props';
2
2
  /**
3
3
  * The visual part of the CC Modal system, renders the message along with buttons to confirm or cancel the cancellation.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"confirmation-modal.d.ts","sourceRoot":"","sources":["../../src/confirmation-modal/confirmation-modal.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAgBpE;;;;GAIG;AACH,iBAAS,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,GAAG,CAAC,OAAO,CAiBrE;kBAjBQ,iBAAiB;;;AAqB1B,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"confirmation-modal.d.ts","sourceRoot":"","sources":["../../src/confirmation-modal/confirmation-modal.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAgBzE;;;;GAIG;AACH,iBAAS,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,GAAG,CAAC,OAAO,CAiBrE;kBAjBQ,iBAAiB;;;AAqB1B,eAAe,iBAAiB,CAAC"}
@@ -17,6 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  */
18
18
  import styled from '@darajs/styled-components';
19
19
  import { Button, Modal } from '@darajs/ui-components';
20
+ import {} from './confirmation-modal-props';
20
21
  import useConfirmationModal from './use-confirmation-modal';
21
22
  const Wrapper = styled.div `
22
23
  display: flex;
@@ -1 +1 @@
1
- {"version":3,"file":"confirmation-modal.js","sourceRoot":"","sources":["../../src/confirmation-modal/confirmation-modal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG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CAAC;AAEF,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAIxB,CAAC;AAEF;;;;GAIG;AACH,SAAS,iBAAiB,CAAC,KAA6B;;IACpD,OAAO,CACH,KAAC,KAAK,IAAC,cAAc,EAAE,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,YAC3E,MAAC,OAAO,eACJ,uBAAK,MAAA,KAAK,CAAC,KAAK,mCAAI,sBAAsB,GAAM,EAC/C,KAAK,CAAC,OAAO,EACd,MAAC,MAAM,eACH,KAAC,MAAM,IAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAC,WAAW,uBAE3C,EACT,KAAC,MAAM,IAAC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,OAAO,EAAC,OAAO,wBAExC,IACJ,IACH,GACN,CACX,CAAC;AACN,CAAC;AAED,iBAAiB,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;AAE9D,eAAe,iBAAiB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ConfirmationModalProps } from './confirmation-modal-props';
1
+ import { type ConfirmationModalProps } from './confirmation-modal-props';
2
2
  interface ConfirmationModalHook<T> {
3
3
  /** The props for the modal component, should be spread onto it */
4
4
  modalProps: ConfirmationModalProps;
@@ -1 +1 @@
1
- {"version":3,"file":"use-confirmation-modal.d.ts","sourceRoot":"","sources":["../../src/confirmation-modal/use-confirmation-modal.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,UAAU,qBAAqB,CAAC,CAAC;IAC7B,kEAAkE;IAClE,UAAU,EAAE,sBAAsB,CAAC;IACnC,4DAA4D;IAC5D,cAAc,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACrD;AAED;;;;;;GAMG;AACH,iBAAS,oBAAoB,CAAC,CAAC,EAC3B,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,EAC/B,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAC3C,qBAAqB,CAAC,CAAC,CAAC,CA+B1B;AAED,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"use-confirmation-modal.d.ts","sourceRoot":"","sources":["../../src/confirmation-modal/use-confirmation-modal.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE,UAAU,qBAAqB,CAAC,CAAC;IAC7B,kEAAkE;IAClE,UAAU,EAAE,sBAAsB,CAAC;IACnC,4DAA4D;IAC5D,cAAc,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACrD;AAED;;;;;;GAMG;AACH,iBAAS,oBAAoB,CAAC,CAAC,EAC3B,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,EAC/B,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAC3C,qBAAqB,CAAC,CAAC,CAAC,CA+B1B;AAED,eAAe,oBAAoB,CAAC"}
@@ -15,6 +15,7 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { useState } from 'react';
18
+ import {} from './confirmation-modal-props';
18
19
  /**
19
20
  * The logic part of the ConfirmationModal system that handles showing/hiding the modal and tracking the item to be deleted,
20
21
  * should be used in conjunction with the CCModal component.
@@ -1 +1 @@
1
- {"version":3,"file":"use-confirmation-modal.js","sourceRoot":"","sources":["../../src/confirmation-modal/use-confirmation-modal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAWjC;;;;;;GAMG;AACH,SAAS,oBAA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AAY,EAAE,eAAe,CAAC,GAAG,QAAQ,EAAK,CAAC;IACtD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAE3C,MAAM,cAAc,GAAG,CAAC,IAAO,EAAQ,EAAE;QACrC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;QAC7B,SAAS,CAAC,IAAI,CAAC,CAAC;QAChB,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC,CAAC;IAEF,MAAM,QAAQ,GAAG,GAAS,EAAE;QACxB,SAAS,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC,CAAC;IAEF,MAAM,SAAS,GAAG,GAAS,EAAE;QACzB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,IAAI,OAAO,EAAE,CAAC;YACV,OAAO,CAAC,YAAY,CAAC,CAAC;QAC1B,CAAC;IACL,CAAC,CAAC;IAEF,OAAO;QACH,UAAU,EAAE;YACR,OAAO;YACP,QAAQ;YACR,SAAS;YACT,MAAM;SACT;QACD,cAAc;KACjB,CAAC;AACN,CAAC;AAED,eAAe,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darajs/ui-widgets",
3
- "version": "1.18.4",
3
+ "version": "1.19.0",
4
4
  "description": "The UI widgets built on top of UI components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -11,9 +11,7 @@
11
11
  "format": "prettier src --write",
12
12
  "format:check": "prettier src --check",
13
13
  "lint:fix": "eslint src --ext .tsx --max-warnings 0 --fix && stylelint './src/**/*.tsx' --fix",
14
- "test-watch": "jest --watch",
15
- "storybook": "start-storybook -p 6006",
16
- "build-storybook": "build-storybook"
14
+ "test-watch": "jest --watch"
17
15
  },
18
16
  "prettier": "@darajs/prettier-config",
19
17
  "devDependencies": {
@@ -21,18 +19,9 @@
21
19
  "@babel/preset-env": "^7.15.6",
22
20
  "@babel/preset-react": "^7.14.5",
23
21
  "@babel/preset-typescript": "^7.15.0",
24
- "@darajs/eslint-config": "1.18.4",
25
- "@darajs/prettier-config": "1.18.4",
26
- "@darajs/stylelint-config": "1.18.4",
27
- "@storybook/addon-a11y": "^6.5.16",
28
- "@storybook/addon-actions": "^6.5.16",
29
- "@storybook/addon-essentials": "^6.5.16",
30
- "@storybook/addon-links": "^6.5.16",
31
- "@storybook/addon-styling": "^0.3.2",
32
- "@storybook/builder-webpack5": "^6.5.16",
33
- "@storybook/manager-webpack5": "^6.5.16",
34
- "@storybook/react": "^6.5.16",
35
- "@storybook/theming": "^6.5.16",
22
+ "@darajs/eslint-config": "1.19.0",
23
+ "@darajs/prettier-config": "1.19.0",
24
+ "@darajs/stylelint-config": "1.19.0",
36
25
  "@testing-library/dom": "^9.3.0",
37
26
  "@testing-library/jest-dom": "^5.16.5",
38
27
  "@testing-library/react": "^14.0.0",
@@ -44,15 +33,14 @@
44
33
  "eslint": "^8.57.1",
45
34
  "prettier": "^3.0.0",
46
35
  "rimraf": "^3.0.2",
47
- "storybook-dark-mode": "^1.0.8",
48
36
  "stylelint": "^15.0.0",
49
37
  "typescript": "^5.8.2"
50
38
  },
51
39
  "dependencies": {
52
- "@darajs/styled-components": "1.18.4",
53
- "@darajs/ui-components": "1.18.4",
54
- "@darajs/ui-icons": "1.18.4",
55
- "@darajs/ui-utils": "1.18.4",
40
+ "@darajs/styled-components": "1.19.0",
41
+ "@darajs/ui-components": "1.19.0",
42
+ "@darajs/ui-icons": "1.19.0",
43
+ "@darajs/ui-utils": "1.19.0",
56
44
  "lodash": "4.17.21",
57
45
  "nanoid": "^3.3.0",
58
46
  "react": "^18.0",
@@ -66,5 +54,5 @@
66
54
  "publishConfig": {
67
55
  "access": "public"
68
56
  },
69
- "gitHead": "105aa4931071c175b1789abd9149e19fae0c0de4"
57
+ "gitHead": "c1d1aefa66211a092cf3b41b5572cba8876ce952"
70
58
  }