@exhaustive-ui/styles 22.0.0 → 22.1.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.
@@ -10,16 +10,22 @@ const style=`
10
10
  .p-selectbutton .p-togglebutton {
11
11
  border-radius: 0;
12
12
  border-width: 1px;
13
- border-inline-start-width: 0;
13
+ }
14
+
15
+ .p-selectbutton .p-togglebutton + .p-togglebutton {
16
+ margin-inline-start: -1px;
17
+ }
18
+
19
+ .p-selectbutton .p-togglebutton-checked {
20
+ z-index: 1;
14
21
  }
15
22
 
16
23
  .p-selectbutton .p-togglebutton:focus-visible {
17
24
  position: relative;
18
- z-index: 1;
25
+ z-index: 2;
19
26
  }
20
27
 
21
28
  .p-selectbutton .p-togglebutton:first-child {
22
- border-inline-start-width: 1px;
23
29
  border-start-start-radius: dt('selectbutton.border.radius');
24
30
  border-end-start-radius: dt('selectbutton.border.radius');
25
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../src/selectbutton/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-selectbutton {\n display: inline-flex;\n user-select: none;\n vertical-align: bottom;\n outline-color: transparent;\n border-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton .p-togglebutton {\n border-radius: 0;\n border-width: 1px;\n border-inline-start-width: 0;\n }\n\n .p-selectbutton .p-togglebutton:focus-visible {\n position: relative;\n z-index: 1;\n }\n\n .p-selectbutton .p-togglebutton:first-child {\n border-inline-start-width: 1px;\n border-start-start-radius: dt('selectbutton.border.radius');\n border-end-start-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton .p-togglebutton:last-child {\n border-start-end-radius: dt('selectbutton.border.radius');\n border-end-end-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton.p-invalid {\n outline: 1px solid dt('selectbutton.invalid.border.color');\n outline-offset: 0;\n }\n\n .p-selectbutton-fluid {\n width: 100%;\n }\n \n .p-selectbutton-fluid .p-togglebutton {\n flex: 1 1 0;\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../src/selectbutton/index.ts"],"sourcesContent":["export const style = /*css*/ `\n .p-selectbutton {\n display: inline-flex;\n user-select: none;\n vertical-align: bottom;\n outline-color: transparent;\n border-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton .p-togglebutton {\n border-radius: 0;\n border-width: 1px;\n }\n\n .p-selectbutton .p-togglebutton + .p-togglebutton {\n margin-inline-start: -1px;\n }\n\n .p-selectbutton .p-togglebutton-checked {\n z-index: 1;\n }\n\n .p-selectbutton .p-togglebutton:focus-visible {\n position: relative;\n z-index: 2;\n }\n\n .p-selectbutton .p-togglebutton:first-child {\n border-start-start-radius: dt('selectbutton.border.radius');\n border-end-start-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton .p-togglebutton:last-child {\n border-start-end-radius: dt('selectbutton.border.radius');\n border-end-end-radius: dt('selectbutton.border.radius');\n }\n\n .p-selectbutton.p-invalid {\n outline: 1px solid dt('selectbutton.invalid.border.color');\n outline-offset: 0;\n }\n\n .p-selectbutton-fluid {\n width: 100%;\n }\n \n .p-selectbutton-fluid .p-togglebutton {\n flex: 1 1 0;\n }\n`;\n"],"mappings":"AAAA,MAAa,MAAgB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exhaustive-ui/styles",
3
- "version": "22.0.0",
3
+ "version": "22.1.0",
4
4
  "author": "e-xiste",
5
5
  "description": "Styles utilities for ExhaustiveUI Libraries",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  "LICENSE"
45
45
  ],
46
46
  "dependencies": {
47
- "@exhaustive-ui/styled": "22.0.0"
47
+ "@exhaustive-ui/styled": "22.1.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "known-css-properties": "^0.37.0",