@agencecinq/utils 5.0.2 → 5.0.3

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.
Binary file
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @agencecinq/utils
2
2
 
3
+ ## 5.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Add `@agencecinq/switch` Web Component (`<cinq-switch>`) with activate/deactivate/toggle API, WAI-ARIA switch pattern support, and interactive docs playground. Export `SWITCH_ACTIVATE` and `SWITCH_DEACTIVATE` from `@agencecinq/utils`. Align disclosure-button event handlers to `handle*` naming convention.
8
+
3
9
  ## 5.0.2
4
10
 
5
11
  ### Patch Changes
package/dist/events.d.ts CHANGED
@@ -8,6 +8,8 @@ export declare const EVENTS: {
8
8
  SPINBUTTON_CHANGE: string;
9
9
  DISCLOSURE_BUTTON_OPEN: string;
10
10
  DISCLOSURE_BUTTON_CLOSE: string;
11
+ SWITCH_ACTIVATE: string;
12
+ SWITCH_DEACTIVATE: string;
11
13
  TAB_BEFORE_ACTIVATE: string;
12
14
  TAB_ACTIVATE: string;
13
15
  TAB_DELETE: string;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;CAiBlB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;CAmBlB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC"}
package/dist/index.js CHANGED
@@ -9,6 +9,8 @@ var e = {
9
9
  SPINBUTTON_CHANGE: "spinbutton-change",
10
10
  DISCLOSURE_BUTTON_OPEN: "disclosure-button:open",
11
11
  DISCLOSURE_BUTTON_CLOSE: "disclosure-button:close",
12
+ SWITCH_ACTIVATE: "switch:activate",
13
+ SWITCH_DEACTIVATE: "switch:deactivate",
12
14
  TAB_BEFORE_ACTIVATE: "tab-before-activate",
13
15
  TAB_ACTIVATE: "tab-activate",
14
16
  TAB_DELETE: "tab-delete",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agencecinq/utils",
3
- "version": "5.0.2",
3
+ "version": "5.0.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "typescript": "^6.0.3",
21
- "vite": "^8.1.3",
21
+ "vite": "^8.1.4",
22
22
  "vite-plugin-dts": "^5.0.3"
23
23
  },
24
24
  "publishConfig": {
package/src/events.ts CHANGED
@@ -8,6 +8,8 @@ export const EVENTS = {
8
8
  SPINBUTTON_CHANGE: 'spinbutton-change',
9
9
  DISCLOSURE_BUTTON_OPEN: 'disclosure-button:open',
10
10
  DISCLOSURE_BUTTON_CLOSE: 'disclosure-button:close',
11
+ SWITCH_ACTIVATE: 'switch:activate',
12
+ SWITCH_DEACTIVATE: 'switch:deactivate',
11
13
  TAB_BEFORE_ACTIVATE: 'tab-before-activate',
12
14
  TAB_ACTIVATE: 'tab-activate',
13
15
  TAB_DELETE: 'tab-delete',