@daikin-oss/design-system-web-components 1.5.2-next.0 → 1.5.2

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 CHANGED
@@ -1,5 +1,50 @@
1
1
  # @daikin-oss/design-system-web-components
2
2
 
3
+ ## 1.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#398](https://github.com/dsv-rp/DDS/pull/398) [`65a352d`](https://github.com/dsv-rp/DDS/commit/65a352dbd6d59af7d59b9bf5f1669296fd9cd7a2) Thanks [@yodas7](https://github.com/yodas7)! - Added `focus()` method override to delegate focus to the inner focusable element via the host element.
8
+
9
+ - Breadcrumb Item
10
+ - Checkbox
11
+ - Date Picker
12
+ - Link
13
+ - Slider
14
+ - Table Header Cell
15
+ - Text Area
16
+ - Text Field
17
+ - Text Masked Field
18
+ - Time Picker
19
+ - Toggle
20
+
21
+ - [#399](https://github.com/dsv-rp/DDS/pull/399) [`38579fe`](https://github.com/dsv-rp/DDS/commit/38579fe1b71103817ca3dbb28f516a1929b0f2ef) Thanks [@dk-wei](https://github.com/dk-wei)! - Navigation (Storybook): Added kitchen sink page.
22
+
23
+ - [#402](https://github.com/dsv-rp/DDS/pull/402) [`7c71f50`](https://github.com/dsv-rp/DDS/commit/7c71f50b7a00c5195b42e5a8ce20d84c2a3dbdcb) Thanks [@dk-wei](https://github.com/dk-wei)! - Modal Footer (Storybook): Added kitchen sink page.
24
+
25
+ - [#394](https://github.com/dsv-rp/DDS/pull/394) [`dd7b1d3`](https://github.com/dsv-rp/DDS/commit/dd7b1d35f2286b500356c7a6fbe5d2790cb4ad78) Thanks [@dk-wei](https://github.com/dk-wei)! - Tag (Storybook): Added kitchen sink page.
26
+
27
+ - [#381](https://github.com/dsv-rp/DDS/pull/381) [`a89336c`](https://github.com/dsv-rp/DDS/commit/a89336c3016930fda3de0cf9aa62c9065a1a30cb) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Unified the text wrapping strategy within the following components. (DDS-2959)
28
+
29
+ - Card Header
30
+ - Checkbox
31
+ - Link
32
+ - Progress Bar
33
+ - Progress Indicator Item
34
+ - Radio Button
35
+ - Table Header Cell
36
+ - Tree Item
37
+
38
+ Table Header: Fixed an issue where the left icon was being compressed when the text was too long. (DDS-2963)
39
+ Fixed an issue where the content shifted when toggling the component borders. (DDS-2960)
40
+
41
+ - Card
42
+ - Accordion
43
+ - Icon Button
44
+ - Button
45
+
46
+ - [#397](https://github.com/dsv-rp/DDS/pull/397) [`311297a`](https://github.com/dsv-rp/DDS/commit/311297a587ea23578f414f8e55011bc0e33f206d) Thanks [@rinjInTokyo](https://github.com/rinjInTokyo)! - Menu: Prevent the menu from flipping or shifting when used with a navigation item. (DDS-2978)
47
+
3
48
  ## 1.5.2-next.0
4
49
 
5
50
  ### Patch Changes
@@ -1171,30 +1171,6 @@
1171
1171
  }
1172
1172
  ]
1173
1173
  },
1174
- {
1175
- "kind": "javascript-module",
1176
- "path": "dist/es/constants/events.js",
1177
- "declarations": [
1178
- {
1179
- "kind": "variable",
1180
- "name": "EVENT_CLOSE",
1181
- "type": {
1182
- "text": "string"
1183
- },
1184
- "default": "\"close\""
1185
- }
1186
- ],
1187
- "exports": [
1188
- {
1189
- "kind": "js",
1190
- "name": "EVENT_CLOSE",
1191
- "declaration": {
1192
- "name": "EVENT_CLOSE",
1193
- "module": "src/constants/events.ts"
1194
- }
1195
- }
1196
- ]
1197
- },
1198
1174
  {
1199
1175
  "kind": "javascript-module",
1200
1176
  "path": "dist/es/components/index.js",
@@ -1706,6 +1682,30 @@
1706
1682
  }
1707
1683
  ]
1708
1684
  },
1685
+ {
1686
+ "kind": "javascript-module",
1687
+ "path": "dist/es/constants/events.js",
1688
+ "declarations": [
1689
+ {
1690
+ "kind": "variable",
1691
+ "name": "EVENT_CLOSE",
1692
+ "type": {
1693
+ "text": "string"
1694
+ },
1695
+ "default": "\"close\""
1696
+ }
1697
+ ],
1698
+ "exports": [
1699
+ {
1700
+ "kind": "js",
1701
+ "name": "EVENT_CLOSE",
1702
+ "declaration": {
1703
+ "name": "EVENT_CLOSE",
1704
+ "module": "src/constants/events.ts"
1705
+ }
1706
+ }
1707
+ ]
1708
+ },
1709
1709
  {
1710
1710
  "kind": "javascript-module",
1711
1711
  "path": "dist/es/controllers/click-outside.js",
@@ -13380,19 +13380,81 @@
13380
13380
  },
13381
13381
  {
13382
13382
  "kind": "javascript-module",
13383
- "path": "dist/es/components/modal-footer/daikin-modal-footer.js",
13383
+ "path": "dist/es/components/modal/daikin-modal.js",
13384
13384
  "declarations": [
13385
13385
  {
13386
13386
  "kind": "class",
13387
- "description": "`daikin-modal-footer` is used to represent footer of the modal component, and is used as a child element of the `daikin-modal` component.\n\nHierarchy:\n- `daikin-modal` > `daikin-modal-footer`",
13388
- "name": "DaikinModalFooter",
13387
+ "description": "`daikin-modal` is an interactive overlay that appears on top of the main content to prompt user input or display important information, temporarily blocking interaction with the rest of the page. It's crucial for capturing user attention and guiding specific actions.\n\nHierarchy:\n- `daikin-modal` > `daikin-modal-header`\n- `daikin-modal` > `daikin-modal-footer`",
13388
+ "name": "DaikinModal",
13389
+ "cssParts": [
13390
+ {
13391
+ "description": "CSS styles applied to the modal panel container. By default, the panel uses content-based sizing (`size-fit`) and is clamped by responsive min/max width and height constraints so it does not touch the viewport edges. Use `::part(modal)` to customize its width, height, or padding; the built-in min/max constraints remain in effect unless you override them with more specific rules.",
13392
+ "name": "modal"
13393
+ }
13394
+ ],
13389
13395
  "slots": [
13390
13396
  {
13391
- "description": "slot for modal footer action element. Place a `daikin-button` or `daikin-link` element here.",
13392
- "name": "A"
13397
+ "description": "A slot for modal header, body, modal footer. Place `daikin-modal-header`, custom body content, `daikin-modal-footer` here in order.",
13398
+ "name": ""
13393
13399
  }
13394
13400
  ],
13395
13401
  "members": [
13402
+ {
13403
+ "kind": "field",
13404
+ "name": "open",
13405
+ "type": {
13406
+ "text": "boolean"
13407
+ },
13408
+ "default": "false",
13409
+ "description": "Whether the modal is open.",
13410
+ "attribute": "open",
13411
+ "reflects": true
13412
+ },
13413
+ {
13414
+ "kind": "field",
13415
+ "name": "modalRole",
13416
+ "type": {
13417
+ "text": "\"dialog\" | \"alertdialog\""
13418
+ },
13419
+ "description": "ARIA role of the modal. Choose the appropriate role for your modal based on its usage scenario.",
13420
+ "default": "\"dialog\"",
13421
+ "attribute": "modal-role",
13422
+ "reflects": true
13423
+ },
13424
+ {
13425
+ "kind": "field",
13426
+ "name": "modalAriaLabel",
13427
+ "type": {
13428
+ "text": "string | null"
13429
+ },
13430
+ "default": "null",
13431
+ "description": "The aria-label of the modal.",
13432
+ "attribute": "modal-aria-label",
13433
+ "reflects": true
13434
+ },
13435
+ {
13436
+ "kind": "field",
13437
+ "name": "persistent",
13438
+ "type": {
13439
+ "text": "boolean"
13440
+ },
13441
+ "default": "false",
13442
+ "description": "If this property set by `true`, you can't close modal by clicking outside of modal or Escape key.\nIn this case, please ensure you provide users with a method to close the modal, such as a close button in the header or a close button in the footer.",
13443
+ "attribute": "persistent"
13444
+ },
13445
+ {
13446
+ "kind": "field",
13447
+ "name": "_handleClose",
13448
+ "privacy": "private",
13449
+ "readonly": true
13450
+ },
13451
+ {
13452
+ "kind": "field",
13453
+ "name": "_focusTrapController",
13454
+ "privacy": "private",
13455
+ "readonly": true,
13456
+ "default": "new FocusTrapController( this, this._handleClose )"
13457
+ },
13396
13458
  {
13397
13459
  "kind": "field",
13398
13460
  "name": "version",
@@ -13474,36 +13536,80 @@
13474
13536
  }
13475
13537
  }
13476
13538
  ],
13539
+ "events": [
13540
+ {
13541
+ "description": "A custom event emitted when a user clicks the close button in the header.",
13542
+ "name": "close"
13543
+ }
13544
+ ],
13545
+ "attributes": [
13546
+ {
13547
+ "name": "open",
13548
+ "type": {
13549
+ "text": "boolean"
13550
+ },
13551
+ "default": "false",
13552
+ "description": "Whether the modal is open.",
13553
+ "fieldName": "open"
13554
+ },
13555
+ {
13556
+ "name": "modal-role",
13557
+ "type": {
13558
+ "text": "\"dialog\" | \"alertdialog\""
13559
+ },
13560
+ "description": "ARIA role of the modal. Choose the appropriate role for your modal based on its usage scenario.",
13561
+ "default": "\"dialog\"",
13562
+ "fieldName": "modalRole"
13563
+ },
13564
+ {
13565
+ "name": "modal-aria-label",
13566
+ "type": {
13567
+ "text": "string | null"
13568
+ },
13569
+ "default": "null",
13570
+ "description": "The aria-label of the modal.",
13571
+ "fieldName": "modalAriaLabel"
13572
+ },
13573
+ {
13574
+ "name": "persistent",
13575
+ "type": {
13576
+ "text": "boolean"
13577
+ },
13578
+ "default": "false",
13579
+ "description": "If this property set by `true`, you can't close modal by clicking outside of modal or Escape key.\nIn this case, please ensure you provide users with a method to close the modal, such as a close button in the header or a close button in the footer.",
13580
+ "fieldName": "persistent"
13581
+ }
13582
+ ],
13477
13583
  "superclass": {
13478
13584
  "name": "DDSElement",
13479
13585
  "module": "/src/base"
13480
13586
  },
13481
- "tagName": "daikin-modal-footer",
13587
+ "tagName": "daikin-modal",
13482
13588
  "customElement": true
13483
13589
  }
13484
13590
  ],
13485
13591
  "exports": [
13486
13592
  {
13487
13593
  "kind": "js",
13488
- "name": "DaikinModalFooter",
13594
+ "name": "DaikinModal",
13489
13595
  "declaration": {
13490
- "name": "DaikinModalFooter",
13491
- "module": "src/components/modal-footer/daikin-modal-footer.ts"
13596
+ "name": "DaikinModal",
13597
+ "module": "src/components/modal/daikin-modal.ts"
13492
13598
  }
13493
13599
  },
13494
13600
  {
13495
13601
  "kind": "custom-element-definition",
13496
- "name": "daikin-modal-footer",
13602
+ "name": "daikin-modal",
13497
13603
  "declaration": {
13498
- "name": "DaikinModalFooter",
13499
- "module": "src/components/modal-footer/daikin-modal-footer.ts"
13604
+ "name": "DaikinModal",
13605
+ "module": "src/components/modal/daikin-modal.ts"
13500
13606
  }
13501
13607
  }
13502
13608
  ]
13503
13609
  },
13504
13610
  {
13505
13611
  "kind": "javascript-module",
13506
- "path": "dist/es/components/modal-footer/index.js",
13612
+ "path": "dist/es/components/modal/index.js",
13507
13613
  "declarations": [],
13508
13614
  "exports": [
13509
13615
  {
@@ -13511,88 +13617,26 @@
13511
13617
  "name": "*",
13512
13618
  "declaration": {
13513
13619
  "name": "*",
13514
- "module": "src/components/modal-footer/daikin-modal-footer"
13620
+ "module": "src/components/modal/daikin-modal"
13515
13621
  }
13516
13622
  }
13517
13623
  ]
13518
13624
  },
13519
13625
  {
13520
13626
  "kind": "javascript-module",
13521
- "path": "dist/es/components/modal/daikin-modal.js",
13627
+ "path": "dist/es/components/modal-footer/daikin-modal-footer.js",
13522
13628
  "declarations": [
13523
13629
  {
13524
13630
  "kind": "class",
13525
- "description": "`daikin-modal` is an interactive overlay that appears on top of the main content to prompt user input or display important information, temporarily blocking interaction with the rest of the page. It's crucial for capturing user attention and guiding specific actions.\n\nHierarchy:\n- `daikin-modal` > `daikin-modal-header`\n- `daikin-modal` > `daikin-modal-footer`",
13526
- "name": "DaikinModal",
13527
- "cssParts": [
13528
- {
13529
- "description": "CSS styles applied to the modal panel container. By default, the panel uses content-based sizing (`size-fit`) and is clamped by responsive min/max width and height constraints so it does not touch the viewport edges. Use `::part(modal)` to customize its width, height, or padding; the built-in min/max constraints remain in effect unless you override them with more specific rules.",
13530
- "name": "modal"
13531
- }
13532
- ],
13631
+ "description": "`daikin-modal-footer` is used to represent footer of the modal component, and is used as a child element of the `daikin-modal` component.\n\nHierarchy:\n- `daikin-modal` > `daikin-modal-footer`",
13632
+ "name": "DaikinModalFooter",
13533
13633
  "slots": [
13534
13634
  {
13535
- "description": "A slot for modal header, body, modal footer. Place `daikin-modal-header`, custom body content, `daikin-modal-footer` here in order.",
13536
- "name": ""
13635
+ "description": "slot for modal footer action element. Place a `daikin-button` or `daikin-link` element here.",
13636
+ "name": "A"
13537
13637
  }
13538
13638
  ],
13539
13639
  "members": [
13540
- {
13541
- "kind": "field",
13542
- "name": "open",
13543
- "type": {
13544
- "text": "boolean"
13545
- },
13546
- "default": "false",
13547
- "description": "Whether the modal is open.",
13548
- "attribute": "open",
13549
- "reflects": true
13550
- },
13551
- {
13552
- "kind": "field",
13553
- "name": "modalRole",
13554
- "type": {
13555
- "text": "\"dialog\" | \"alertdialog\""
13556
- },
13557
- "description": "ARIA role of the modal. Choose the appropriate role for your modal based on its usage scenario.",
13558
- "default": "\"dialog\"",
13559
- "attribute": "modal-role",
13560
- "reflects": true
13561
- },
13562
- {
13563
- "kind": "field",
13564
- "name": "modalAriaLabel",
13565
- "type": {
13566
- "text": "string | null"
13567
- },
13568
- "default": "null",
13569
- "description": "The aria-label of the modal.",
13570
- "attribute": "modal-aria-label",
13571
- "reflects": true
13572
- },
13573
- {
13574
- "kind": "field",
13575
- "name": "persistent",
13576
- "type": {
13577
- "text": "boolean"
13578
- },
13579
- "default": "false",
13580
- "description": "If this property set by `true`, you can't close modal by clicking outside of modal or Escape key.\nIn this case, please ensure you provide users with a method to close the modal, such as a close button in the header or a close button in the footer.",
13581
- "attribute": "persistent"
13582
- },
13583
- {
13584
- "kind": "field",
13585
- "name": "_handleClose",
13586
- "privacy": "private",
13587
- "readonly": true
13588
- },
13589
- {
13590
- "kind": "field",
13591
- "name": "_focusTrapController",
13592
- "privacy": "private",
13593
- "readonly": true,
13594
- "default": "new FocusTrapController( this, this._handleClose )"
13595
- },
13596
13640
  {
13597
13641
  "kind": "field",
13598
13642
  "name": "version",
@@ -13674,80 +13718,36 @@
13674
13718
  }
13675
13719
  }
13676
13720
  ],
13677
- "events": [
13678
- {
13679
- "description": "A custom event emitted when a user clicks the close button in the header.",
13680
- "name": "close"
13681
- }
13682
- ],
13683
- "attributes": [
13684
- {
13685
- "name": "open",
13686
- "type": {
13687
- "text": "boolean"
13688
- },
13689
- "default": "false",
13690
- "description": "Whether the modal is open.",
13691
- "fieldName": "open"
13692
- },
13693
- {
13694
- "name": "modal-role",
13695
- "type": {
13696
- "text": "\"dialog\" | \"alertdialog\""
13697
- },
13698
- "description": "ARIA role of the modal. Choose the appropriate role for your modal based on its usage scenario.",
13699
- "default": "\"dialog\"",
13700
- "fieldName": "modalRole"
13701
- },
13702
- {
13703
- "name": "modal-aria-label",
13704
- "type": {
13705
- "text": "string | null"
13706
- },
13707
- "default": "null",
13708
- "description": "The aria-label of the modal.",
13709
- "fieldName": "modalAriaLabel"
13710
- },
13711
- {
13712
- "name": "persistent",
13713
- "type": {
13714
- "text": "boolean"
13715
- },
13716
- "default": "false",
13717
- "description": "If this property set by `true`, you can't close modal by clicking outside of modal or Escape key.\nIn this case, please ensure you provide users with a method to close the modal, such as a close button in the header or a close button in the footer.",
13718
- "fieldName": "persistent"
13719
- }
13720
- ],
13721
13721
  "superclass": {
13722
13722
  "name": "DDSElement",
13723
13723
  "module": "/src/base"
13724
13724
  },
13725
- "tagName": "daikin-modal",
13725
+ "tagName": "daikin-modal-footer",
13726
13726
  "customElement": true
13727
13727
  }
13728
13728
  ],
13729
13729
  "exports": [
13730
13730
  {
13731
13731
  "kind": "js",
13732
- "name": "DaikinModal",
13732
+ "name": "DaikinModalFooter",
13733
13733
  "declaration": {
13734
- "name": "DaikinModal",
13735
- "module": "src/components/modal/daikin-modal.ts"
13734
+ "name": "DaikinModalFooter",
13735
+ "module": "src/components/modal-footer/daikin-modal-footer.ts"
13736
13736
  }
13737
13737
  },
13738
13738
  {
13739
13739
  "kind": "custom-element-definition",
13740
- "name": "daikin-modal",
13740
+ "name": "daikin-modal-footer",
13741
13741
  "declaration": {
13742
- "name": "DaikinModal",
13743
- "module": "src/components/modal/daikin-modal.ts"
13742
+ "name": "DaikinModalFooter",
13743
+ "module": "src/components/modal-footer/daikin-modal-footer.ts"
13744
13744
  }
13745
13745
  }
13746
13746
  ]
13747
13747
  },
13748
13748
  {
13749
13749
  "kind": "javascript-module",
13750
- "path": "dist/es/components/modal/index.js",
13750
+ "path": "dist/es/components/modal-footer/index.js",
13751
13751
  "declarations": [],
13752
13752
  "exports": [
13753
13753
  {
@@ -13755,7 +13755,7 @@
13755
13755
  "name": "*",
13756
13756
  "declaration": {
13757
13757
  "name": "*",
13758
- "module": "src/components/modal/daikin-modal"
13758
+ "module": "src/components/modal-footer/daikin-modal-footer"
13759
13759
  }
13760
13760
  }
13761
13761
  ]
@@ -84,6 +84,6 @@ const _DDSElement = class _DDSElement extends lit.LitElement {
84
84
  return this[key];
85
85
  }
86
86
  };
87
- _DDSElement.version = "1.5.2-next.0";
87
+ _DDSElement.version = "1.5.2";
88
88
  let DDSElement = _DDSElement;
89
89
  exports.DDSElement = DDSElement;
@@ -94,6 +94,6 @@ const _DDSElement = class _DDSElement extends lit.LitElement {
94
94
  return this[key];
95
95
  }
96
96
  };
97
- _DDSElement.version = "1.5.2-next.0";
97
+ _DDSElement.version = "1.5.2";
98
98
  let DDSElement = _DDSElement;
99
99
  exports.DDSElement = DDSElement;
@@ -82,7 +82,7 @@ const _DDSElement = class _DDSElement extends LitElement {
82
82
  return this[key];
83
83
  }
84
84
  };
85
- _DDSElement.version = "1.5.2-next.0";
85
+ _DDSElement.version = "1.5.2";
86
86
  let DDSElement = _DDSElement;
87
87
  export {
88
88
  DDSElement
@@ -92,7 +92,7 @@ const _DDSElement = class _DDSElement extends LitElement {
92
92
  return this[key];
93
93
  }
94
94
  };
95
- _DDSElement.version = "1.5.2-next.0";
95
+ _DDSElement.version = "1.5.2";
96
96
  let DDSElement = _DDSElement;
97
97
  export {
98
98
  DDSElement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daikin-oss/design-system-web-components",
3
- "version": "1.5.2-next.0",
3
+ "version": "1.5.2",
4
4
  "description": "Design system using web components",
5
5
  "type": "module",
6
6
  "files": [