@operato/styles 9.0.0-beta.6 → 9.0.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +129 -0
  2. package/dist/src/box-padding-editor-styles.d.ts +1 -0
  3. package/dist/src/box-padding-editor-styles.js +99 -0
  4. package/dist/src/box-padding-editor-styles.js.map +1 -0
  5. package/dist/src/gradient-direction-styles.d.ts +4 -0
  6. package/dist/src/gradient-direction-styles.js +78 -0
  7. package/dist/src/gradient-direction-styles.js.map +1 -0
  8. package/dist/src/index.d.ts +6 -0
  9. package/dist/src/index.js +6 -0
  10. package/dist/src/index.js.map +1 -1
  11. package/dist/src/inspector-styles.d.ts +4 -0
  12. package/dist/src/inspector-styles.js +41 -0
  13. package/dist/src/inspector-styles.js.map +1 -0
  14. package/dist/src/line-styles.d.ts +4 -0
  15. package/dist/src/line-styles.js +144 -0
  16. package/dist/src/line-styles.js.map +1 -0
  17. package/dist/src/property-grid-styles.d.ts +4 -0
  18. package/dist/src/property-grid-styles.js +169 -0
  19. package/dist/src/property-grid-styles.js.map +1 -0
  20. package/dist/src/table-event-styles.d.ts +4 -0
  21. package/dist/src/table-event-styles.js +57 -0
  22. package/dist/src/table-event-styles.js.map +1 -0
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/icons/icon-inspector.png +0 -0
  25. package/icons/icon-properties-arrow-type.png +0 -0
  26. package/icons/icon-properties-gradient-direction.png +0 -0
  27. package/icons/icon-properties-line-type.png +0 -0
  28. package/icons/icon-properties-padding.png +0 -0
  29. package/icons/icon-properties-table.png +0 -0
  30. package/package.json +59 -3
  31. package/dist/stories/button-container-styles.stories.d.ts +0 -16
  32. package/dist/stories/button-container-styles.stories.js +0 -77
  33. package/dist/stories/button-container-styles.stories.js.map +0 -1
  34. package/dist/stories/common-header-styles-actions.stories.d.ts +0 -22
  35. package/dist/stories/common-header-styles-actions.stories.js +0 -101
  36. package/dist/stories/common-header-styles-actions.stories.js.map +0 -1
  37. package/dist/stories/common-header-styles-pure.stories.d.ts +0 -21
  38. package/dist/stories/common-header-styles-pure.stories.js +0 -78
  39. package/dist/stories/common-header-styles-pure.stories.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,135 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [9.0.0](https://github.com/hatiolab/operato/compare/v9.0.0-beta.92...v9.0.0) (2025-06-30)
7
+
8
+ **Note:** Version bump only for package @operato/styles
9
+
10
+
11
+
12
+
13
+
14
+ ## [9.0.0-beta.47](https://github.com/hatiolab/operato/compare/v9.0.0-beta.46...v9.0.0-beta.47) (2025-02-14)
15
+
16
+
17
+ ### :bug: Bug Fix
18
+
19
+ * missing export in styles module ([3b04065](https://github.com/hatiolab/operato/commit/3b0406581453f0255726905400c792b7c2f8c446))
20
+
21
+
22
+
23
+ ## [9.0.0-beta.38](https://github.com/hatiolab/operato/compare/v9.0.0-beta.37...v9.0.0-beta.38) (2025-02-02)
24
+
25
+
26
+ ### :rocket: New Features
27
+
28
+ * module property-panel ([d218a55](https://github.com/hatiolab/operato/commit/d218a5526548da86dd7fbee31f42ca8e10670b3e))
29
+
30
+
31
+
32
+ ## [9.0.0-beta.37](https://github.com/hatiolab/operato/compare/v9.0.0-beta.36...v9.0.0-beta.37) (2025-02-01)
33
+
34
+ **Note:** Version bump only for package @operato/styles
35
+
36
+
37
+
38
+
39
+
40
+ ## [9.0.0-beta.34](https://github.com/hatiolab/operato/compare/v9.0.0-beta.33...v9.0.0-beta.34) (2025-01-31)
41
+
42
+ **Note:** Version bump only for package @operato/styles
43
+
44
+
45
+
46
+
47
+
48
+ ## [9.0.0-beta.33](https://github.com/hatiolab/operato/compare/v9.0.0-beta.32...v9.0.0-beta.33) (2025-01-31)
49
+
50
+ **Note:** Version bump only for package @operato/styles
51
+
52
+
53
+
54
+
55
+
56
+ ## [9.0.0-beta.32](https://github.com/hatiolab/operato/compare/v9.0.0-beta.31...v9.0.0-beta.32) (2025-01-31)
57
+
58
+ **Note:** Version bump only for package @operato/styles
59
+
60
+
61
+
62
+
63
+
64
+ ## [9.0.0-beta.28](https://github.com/hatiolab/operato/compare/v9.0.0-beta.27...v9.0.0-beta.28) (2025-01-28)
65
+
66
+
67
+ ### :rocket: New Features
68
+
69
+ * module property-panel ([d3dd184](https://github.com/hatiolab/operato/commit/d3dd18461756814dc17e33157a397d8d679650a6))
70
+
71
+
72
+
73
+ ## [9.0.0-beta.21](https://github.com/hatiolab/operato/compare/v9.0.0-beta.20...v9.0.0-beta.21) (2025-01-28)
74
+
75
+
76
+ ### :rocket: New Features
77
+
78
+ * module property-panel ([4f308a0](https://github.com/hatiolab/operato/commit/4f308a0ace57bb156e489eef7998cf443c38fa11))
79
+
80
+
81
+
82
+ ## [9.0.0-beta.20](https://github.com/hatiolab/operato/compare/v9.0.0-beta.19...v9.0.0-beta.20) (2025-01-27)
83
+
84
+
85
+ ### :rocket: New Features
86
+
87
+ * module property-panel ([03fb303](https://github.com/hatiolab/operato/commit/03fb303816c1629adca2a0ad843a8696ffaa4bef))
88
+
89
+
90
+
91
+ ## [9.0.0-beta.18](https://github.com/hatiolab/operato/compare/v9.0.0-beta.17...v9.0.0-beta.18) (2025-01-27)
92
+
93
+ **Note:** Version bump only for package @operato/styles
94
+
95
+
96
+
97
+
98
+
99
+ ## [9.0.0-beta.15](https://github.com/hatiolab/operato/compare/v9.0.0-beta.14...v9.0.0-beta.15) (2025-01-27)
100
+
101
+
102
+ ### :rocket: New Features
103
+
104
+ * module property-panel ([25d6859](https://github.com/hatiolab/operato/commit/25d6859e2f593f447c55206ca1462d22a7e231bc))
105
+
106
+
107
+
108
+ ## [9.0.0-beta.14](https://github.com/hatiolab/operato/compare/v9.0.0-beta.13...v9.0.0-beta.14) (2025-01-27)
109
+
110
+
111
+ ### :rocket: New Features
112
+
113
+ * module property-panel ([d78e4cf](https://github.com/hatiolab/operato/commit/d78e4cf7080b95fa74e61b42094b9f3f59f1409b))
114
+
115
+
116
+
117
+ ## [9.0.0-beta.11](https://github.com/hatiolab/operato/compare/v9.0.0-beta.10...v9.0.0-beta.11) (2025-01-25)
118
+
119
+
120
+ ### :bug: Bug Fix
121
+
122
+ * tsconfig option useDefineForClassFields=false ([0d77c0a](https://github.com/hatiolab/operato/commit/0d77c0aa620282c65b3c05f8e0b559e82836b6ab))
123
+
124
+
125
+
126
+ ## [9.0.0-beta.10](https://github.com/hatiolab/operato/compare/v9.0.0-beta.9...v9.0.0-beta.10) (2025-01-25)
127
+
128
+
129
+ ### :bug: Bug Fix
130
+
131
+ * tweak tsconfig.json ([3c424b1](https://github.com/hatiolab/operato/commit/3c424b18d046f95d5619076d113d49a4b4dc9bbb))
132
+
133
+
134
+
6
135
  ## [9.0.0-beta.6](https://github.com/hatiolab/operato/compare/v9.0.0-beta.5...v9.0.0-beta.6) (2025-01-20)
7
136
 
8
137
 
@@ -0,0 +1 @@
1
+ export declare const BoxPaddingEditorStyles: import("lit").CSSResult;
@@ -0,0 +1,99 @@
1
+ import { css, unsafeCSS } from 'lit';
2
+ const ICON_PROPERTIES_PADDING = new URL('../../icons/icon-properties-padding.png', import.meta.url).href;
3
+ export const BoxPaddingEditorStyles = css `
4
+ :host {
5
+ --url-icon-properties-padding: url(${unsafeCSS(ICON_PROPERTIES_PADDING)});
6
+ }
7
+
8
+ .box-padding {
9
+ width: 100%;
10
+ }
11
+
12
+ .box-padding td {
13
+ background: var(--url-icon-properties-padding) 50% 0 no-repeat;
14
+ }
15
+
16
+ .box-padding tr:nth-child(1),
17
+ .box-padding tr:nth-child(3) {
18
+ height: 20px;
19
+ }
20
+
21
+ .box-padding tr td:nth-child(1),
22
+ .box-padding tr td:nth-child(3) {
23
+ width: 18px;
24
+ }
25
+
26
+ .box-padding .slide1 {
27
+ background-position: 0 0;
28
+ }
29
+
30
+ .box-padding .slide2 {
31
+ background-position: 50% -40px;
32
+ background-color: rgba(69, 46, 41, 0.2);
33
+ }
34
+
35
+ .box-padding .slide3 {
36
+ background-position: 100% -440px;
37
+ }
38
+
39
+ .box-padding .slide4 {
40
+ background-position: 0 -360px;
41
+ background-color: rgba(69, 46, 41, 0.2);
42
+ }
43
+
44
+ .box-padding .slide5 {
45
+ background: none;
46
+ text-align: center;
47
+ }
48
+
49
+ .box-padding .slide6 {
50
+ background-position: 100% -160px;
51
+ background-color: rgba(69, 46, 41, 0.2);
52
+ }
53
+
54
+ .box-padding .slide7 {
55
+ background-position: 0 100%;
56
+ }
57
+
58
+ .box-padding .slide8 {
59
+ background-position: 50% -320px;
60
+ background-color: rgba(69, 46, 41, 0.2);
61
+ }
62
+
63
+ .box-padding .slide9 {
64
+ background-position: 0 0px;
65
+ }
66
+
67
+ .box-padding input {
68
+ background-color: transparent;
69
+ width: 35px;
70
+ margin: 0px;
71
+ padding: 0px;
72
+ clear: both;
73
+ float: initial;
74
+ border: 1px solid #fff;
75
+ border-width: 0 0 1px 0;
76
+ text-align: right;
77
+ font-size: 14px;
78
+ }
79
+
80
+ .slide5 input:nth-child(1),
81
+ .slide5 input:nth-child(4) {
82
+ display: block;
83
+ margin: auto;
84
+ }
85
+
86
+ .slide5 input:nth-child(2) {
87
+ float: left;
88
+ }
89
+
90
+ .slide5 input:nth-child(3) {
91
+ float: right;
92
+ margin-top: -25px;
93
+ }
94
+
95
+ .slide5 input:nth-child(4) {
96
+ margin-top: -5px;
97
+ }
98
+ `;
99
+ //# sourceMappingURL=box-padding-editor-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"box-padding-editor-styles.js","sourceRoot":"","sources":["../../src/box-padding-editor-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,uBAAuB,GAAG,IAAI,GAAG,CAAC,yCAAyC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExG,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;yCAEA,SAAS,CAAC,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6F1E,CAAA","sourcesContent":["import { css, unsafeCSS } from 'lit'\n\nconst ICON_PROPERTIES_PADDING = new URL('../../icons/icon-properties-padding.png', import.meta.url).href\n\nexport const BoxPaddingEditorStyles = css`\n :host {\n --url-icon-properties-padding: url(${unsafeCSS(ICON_PROPERTIES_PADDING)});\n }\n\n .box-padding {\n width: 100%;\n }\n\n .box-padding td {\n background: var(--url-icon-properties-padding) 50% 0 no-repeat;\n }\n\n .box-padding tr:nth-child(1),\n .box-padding tr:nth-child(3) {\n height: 20px;\n }\n\n .box-padding tr td:nth-child(1),\n .box-padding tr td:nth-child(3) {\n width: 18px;\n }\n\n .box-padding .slide1 {\n background-position: 0 0;\n }\n\n .box-padding .slide2 {\n background-position: 50% -40px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide3 {\n background-position: 100% -440px;\n }\n\n .box-padding .slide4 {\n background-position: 0 -360px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide5 {\n background: none;\n text-align: center;\n }\n\n .box-padding .slide6 {\n background-position: 100% -160px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide7 {\n background-position: 0 100%;\n }\n\n .box-padding .slide8 {\n background-position: 50% -320px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide9 {\n background-position: 0 0px;\n }\n\n .box-padding input {\n background-color: transparent;\n width: 35px;\n margin: 0px;\n padding: 0px;\n clear: both;\n float: initial;\n border: 1px solid #fff;\n border-width: 0 0 1px 0;\n text-align: right;\n font-size: 14px;\n }\n\n .slide5 input:nth-child(1),\n .slide5 input:nth-child(4) {\n display: block;\n margin: auto;\n }\n\n .slide5 input:nth-child(2) {\n float: left;\n }\n\n .slide5 input:nth-child(3) {\n float: right;\n margin-top: -25px;\n }\n\n .slide5 input:nth-child(4) {\n margin-top: -5px;\n }\n`\n"]}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @license Copyright © HatioLab Inc. All rights reserved.
3
+ */
4
+ export declare const GradientDirectionStyles: import("lit").CSSResult;
@@ -0,0 +1,78 @@
1
+ /**
2
+ * @license Copyright © HatioLab Inc. All rights reserved.
3
+ */
4
+ import { css } from 'lit';
5
+ const ICON_PROPERTIES_GRADIENT_DIRECTION = new URL('../../icons/icon-properties-gradient-direction.png', import.meta.url).href;
6
+ function setGradientDirectionIcon() {
7
+ document.body.style.setProperty('--url-icon-properties-gradient-direction', `url(${ICON_PROPERTIES_GRADIENT_DIRECTION})`);
8
+ }
9
+ if (document.readyState === 'loading') {
10
+ document.addEventListener('DOMContentLoaded', setGradientDirectionIcon);
11
+ }
12
+ else {
13
+ setGradientDirectionIcon();
14
+ }
15
+ export const GradientDirectionStyles = css `
16
+ .gradient-direction {
17
+ background: var(--url-icon-properties-gradient-direction) 50% 0 no-repeat;
18
+ min-height: 32px;
19
+ padding: 3px 5px;
20
+ }
21
+
22
+ .gradient-direction[value='lefttop-to-rightbottom'] {
23
+ background-position: 50% 4px;
24
+ }
25
+
26
+ .gradient-direction[value='left-top'] {
27
+ background-position: 50% 4px;
28
+ }
29
+
30
+ .gradient-direction[value='top-to-bottom'] {
31
+ background-position: 50% -46px;
32
+ }
33
+
34
+ .gradient-direction[value='righttop-to-leftbottom'] {
35
+ background-position: 50% -96px;
36
+ }
37
+
38
+ .gradient-direction[value='right-top'] {
39
+ background-position: 50% -96px;
40
+ }
41
+
42
+ .gradient-direction[value='right-to-left'] {
43
+ background-position: 50% -146px;
44
+ }
45
+
46
+ .gradient-direction[value='rightbottom-to-lefttop'] {
47
+ background-position: 50% -196px;
48
+ }
49
+
50
+ .gradient-direction[value='right-bottom'] {
51
+ background-position: 50% -196px;
52
+ }
53
+
54
+ .gradient-direction[value='bottom-to-top'] {
55
+ background-position: 50% -246px;
56
+ }
57
+
58
+ .gradient-direction[value='leftbottom-to-righttop'] {
59
+ background-position: 50% -296px;
60
+ }
61
+
62
+ .gradient-direction[value='left-bottom'] {
63
+ background-position: 50% -296px;
64
+ }
65
+
66
+ .gradient-direction[value='left-to-right'] {
67
+ background-position: 50% -346px;
68
+ }
69
+
70
+ .gradient-direction[value='center-to-corner'] {
71
+ background-position: 50% -396px;
72
+ }
73
+
74
+ .gradient-direction[value='center'] {
75
+ background-position: 50% -396px;
76
+ }
77
+ `;
78
+ //# sourceMappingURL=gradient-direction-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gradient-direction-styles.js","sourceRoot":"","sources":["../../src/gradient-direction-styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzB,MAAM,kCAAkC,GAAG,IAAI,GAAG,CAChD,oDAAoD,EACpD,MAAM,CAAC,IAAI,CAAC,GAAG,CAChB,CAAC,IAAI,CAAA;AAEN,SAAS,wBAAwB;IAC/B,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAC7B,0CAA0C,EAC1C,OAAO,kCAAkC,GAAG,CAC7C,CAAA;AACH,CAAC;AAED,IAAI,QAAQ,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;IACtC,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,CAAA;AACzE,CAAC;KAAM,CAAC;IACN,wBAAwB,EAAE,CAAA;AAC5B,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DzC,CAAA","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { css } from 'lit'\n\nconst ICON_PROPERTIES_GRADIENT_DIRECTION = new URL(\n '../../icons/icon-properties-gradient-direction.png',\n import.meta.url\n).href\n\nfunction setGradientDirectionIcon() {\n document.body.style.setProperty(\n '--url-icon-properties-gradient-direction',\n `url(${ICON_PROPERTIES_GRADIENT_DIRECTION})`\n )\n}\n\nif (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', setGradientDirectionIcon)\n} else {\n setGradientDirectionIcon()\n}\n\nexport const GradientDirectionStyles = css`\n .gradient-direction {\n background: var(--url-icon-properties-gradient-direction) 50% 0 no-repeat;\n min-height: 32px;\n padding: 3px 5px;\n }\n\n .gradient-direction[value='lefttop-to-rightbottom'] {\n background-position: 50% 4px;\n }\n\n .gradient-direction[value='left-top'] {\n background-position: 50% 4px;\n }\n\n .gradient-direction[value='top-to-bottom'] {\n background-position: 50% -46px;\n }\n\n .gradient-direction[value='righttop-to-leftbottom'] {\n background-position: 50% -96px;\n }\n\n .gradient-direction[value='right-top'] {\n background-position: 50% -96px;\n }\n\n .gradient-direction[value='right-to-left'] {\n background-position: 50% -146px;\n }\n\n .gradient-direction[value='rightbottom-to-lefttop'] {\n background-position: 50% -196px;\n }\n\n .gradient-direction[value='right-bottom'] {\n background-position: 50% -196px;\n }\n\n .gradient-direction[value='bottom-to-top'] {\n background-position: 50% -246px;\n }\n\n .gradient-direction[value='leftbottom-to-righttop'] {\n background-position: 50% -296px;\n }\n\n .gradient-direction[value='left-bottom'] {\n background-position: 50% -296px;\n }\n\n .gradient-direction[value='left-to-right'] {\n background-position: 50% -346px;\n }\n\n .gradient-direction[value='center-to-corner'] {\n background-position: 50% -396px;\n }\n\n .gradient-direction[value='center'] {\n background-position: 50% -396px;\n }\n`\n"]}
@@ -5,3 +5,9 @@ export * from './common-button-styles.js';
5
5
  export * from './common-grist-styles.js';
6
6
  export * from './button-container-styles.js';
7
7
  export * from './common-header-styles.js';
8
+ export * from './box-padding-editor-styles.js';
9
+ export * from './gradient-direction-styles.js';
10
+ export * from './property-grid-styles.js';
11
+ export * from './table-event-styles.js';
12
+ export * from './inspector-styles.js';
13
+ export * from './line-styles.js';
package/dist/src/index.js CHANGED
@@ -5,4 +5,10 @@ export * from './common-button-styles.js';
5
5
  export * from './common-grist-styles.js';
6
6
  export * from './button-container-styles.js';
7
7
  export * from './common-header-styles.js';
8
+ export * from './box-padding-editor-styles.js';
9
+ export * from './gradient-direction-styles.js';
10
+ export * from './property-grid-styles.js';
11
+ export * from './table-event-styles.js';
12
+ export * from './inspector-styles.js';
13
+ export * from './line-styles.js';
8
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,2BAA2B,CAAA","sourcesContent":["export * from './headroom-styles.js'\nexport * from './scrollbar-styles.js'\nexport * from './spinner-styles.js'\nexport * from './common-button-styles.js'\nexport * from './common-grist-styles.js'\nexport * from './button-container-styles.js'\nexport * from './common-header-styles.js'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,2BAA2B,CAAA;AACzC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA","sourcesContent":["export * from './headroom-styles.js'\nexport * from './scrollbar-styles.js'\nexport * from './spinner-styles.js'\nexport * from './common-button-styles.js'\nexport * from './common-grist-styles.js'\nexport * from './button-container-styles.js'\nexport * from './common-header-styles.js'\nexport * from './box-padding-editor-styles.js'\nexport * from './gradient-direction-styles.js'\nexport * from './property-grid-styles.js'\nexport * from './table-event-styles.js'\nexport * from './inspector-styles.js'\nexport * from './line-styles.js'\n"]}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @license Copyright © HatioLab Inc. All rights reserved.
3
+ */
4
+ export declare const InspectorStyles: import("lit").CSSResult;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @license Copyright © HatioLab Inc. All rights reserved.
3
+ */
4
+ import { css, unsafeCSS } from 'lit';
5
+ const ICON_INSPECTOR = new URL('../../icons/icon-inspector.png', import.meta.url).href;
6
+ export const InspectorStyles = css `
7
+ :host {
8
+ --url-icon-inspector: url(${unsafeCSS(ICON_INSPECTOR)});
9
+ }
10
+
11
+ .collapsed::before,
12
+ .extended::before,
13
+ .collapsespace::before {
14
+ background: var(--url-icon-inspector) no-repeat;
15
+ width: 16px;
16
+ height: 18px;
17
+ display: inline-block;
18
+ content: '';
19
+ opacity: 0.6;
20
+ }
21
+
22
+ .collapsed::before {
23
+ background-position: 100% -195px;
24
+ }
25
+
26
+ .extended::before {
27
+ background-position: 100% -295px;
28
+ }
29
+
30
+ .collapsespace::before {
31
+ background-position: 100% -395px;
32
+ opacity: 0.9;
33
+ width: 16px;
34
+ }
35
+ .collapsed,
36
+ .extended,
37
+ .collapsespace {
38
+ border-left: 1px dotted rgba(0, 0, 0, 0.1);
39
+ }
40
+ `;
41
+ //# sourceMappingURL=inspector-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inspector-styles.js","sourceRoot":"","sources":["../../src/inspector-styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEtF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;gCAEF,SAAS,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCxD,CAAA","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { css, unsafeCSS } from 'lit'\n\nconst ICON_INSPECTOR = new URL('../../icons/icon-inspector.png', import.meta.url).href\n\nexport const InspectorStyles = css`\n :host {\n --url-icon-inspector: url(${unsafeCSS(ICON_INSPECTOR)});\n }\n\n .collapsed::before,\n .extended::before,\n .collapsespace::before {\n background: var(--url-icon-inspector) no-repeat;\n width: 16px;\n height: 18px;\n display: inline-block;\n content: '';\n opacity: 0.6;\n }\n\n .collapsed::before {\n background-position: 100% -195px;\n }\n\n .extended::before {\n background-position: 100% -295px;\n }\n\n .collapsespace::before {\n background-position: 100% -395px;\n opacity: 0.9;\n width: 16px;\n }\n .collapsed,\n .extended,\n .collapsespace {\n border-left: 1px dotted rgba(0, 0, 0, 0.1);\n }\n`\n"]}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @license Copyright © HatioLab Inc. All rights reserved.
3
+ */
4
+ export declare const LineStyles: import("lit").CSSResult;
@@ -0,0 +1,144 @@
1
+ /**
2
+ * @license Copyright © HatioLab Inc. All rights reserved.
3
+ */
4
+ import { css } from 'lit';
5
+ const ICON_PROPERTIES_LINE_TYPE = new URL('../../icons/icon-properties-line-type.png', import.meta.url).href;
6
+ const ICON_PROPERTIES_ARROW_TYPE = new URL('../../icons/icon-properties-arrow-type.png', import.meta.url).href;
7
+ function setIconProperties() {
8
+ document.body.style.setProperty('--url-icon-properties-line-type', `url(${ICON_PROPERTIES_LINE_TYPE})`);
9
+ document.body.style.setProperty('--url-icon-properties-arrow-type', `url(${ICON_PROPERTIES_ARROW_TYPE})`);
10
+ }
11
+ if (document.readyState === 'loading') {
12
+ document.addEventListener('DOMContentLoaded', setIconProperties);
13
+ }
14
+ else {
15
+ setIconProperties();
16
+ }
17
+ export const LineStyles = css `
18
+ .line-type {
19
+ background: var(--url-icon-properties-line-type) 50% 0 no-repeat;
20
+ min-height: 24px;
21
+ padding: 3px 9px;
22
+ }
23
+ .line-type.solid {
24
+ background-position: 50% 14px;
25
+ }
26
+ .line-type.round-dot {
27
+ background-position: 50% -35px;
28
+ }
29
+ .line-type.square-dot {
30
+ background-position: 50% -85px;
31
+ }
32
+ .line-type.dash {
33
+ background-position: 50% -135px;
34
+ }
35
+ .line-type.dash-dot {
36
+ background-position: 50% -185px;
37
+ }
38
+ .line-type.long-dash {
39
+ background-position: 50% -235px;
40
+ }
41
+ .line-type.long-dash-dot {
42
+ background-position: 50% -285px;
43
+ }
44
+ .line-type.long-dash-dot-dot {
45
+ background-position: 50% -335px;
46
+ }
47
+
48
+ .arrow-type {
49
+ background: var(--url-icon-properties-arrow-type) 50% 0 no-repeat;
50
+ min-height: 30px;
51
+ padding: 3px 7px;
52
+ }
53
+ .arrow-type.begin-none {
54
+ background-position: 50% 16px;
55
+ }
56
+ .arrow-type.begin-arrow {
57
+ background-position: 50% -39px;
58
+ }
59
+ .arrow-type.begin-open-arrow {
60
+ background-position: 50% -89px;
61
+ }
62
+ .arrow-type.begin-sharp-arrow {
63
+ background-position: 50% -139px;
64
+ }
65
+ .arrow-type.begin-diamond {
66
+ background-position: 50% -190px;
67
+ }
68
+ .arrow-type.begin-oval {
69
+ background-position: 50% -238px;
70
+ }
71
+ .arrow-type.begin-size1 {
72
+ background-position: 50% -286px;
73
+ }
74
+ .arrow-type.begin-size2 {
75
+ background-position: 50% -336px;
76
+ }
77
+ .arrow-type.begin-size3 {
78
+ background-position: 50% -386px;
79
+ }
80
+ .arrow-type.begin-size4 {
81
+ background-position: 50% -436px;
82
+ }
83
+ .arrow-type.begin-size5 {
84
+ background-position: 50% -486px;
85
+ }
86
+ .arrow-type.begin-size6 {
87
+ background-position: 50% -536px;
88
+ }
89
+ .arrow-type.begin-size7 {
90
+ background-position: 50% -589px;
91
+ }
92
+ .arrow-type.begin-size8 {
93
+ background-position: 50% -639px;
94
+ }
95
+ .arrow-type.begin-size9 {
96
+ background-position: 50% -689px;
97
+ }
98
+ .arrow-type.end-none {
99
+ background-position: 50% 16px;
100
+ }
101
+ .arrow-type.end-arrow {
102
+ background-position: 50% -739px;
103
+ }
104
+ .arrow-type.end-open-arrow {
105
+ background-position: 50% -789px;
106
+ }
107
+ .arrow-type.end-sharp-arrow {
108
+ background-position: 50% -839px;
109
+ }
110
+ .arrow-type.end-diamond {
111
+ background-position: 50% -890px;
112
+ }
113
+ .arrow-type.end-oval {
114
+ background-position: 50% -938px;
115
+ }
116
+ .arrow-type.end-size1 {
117
+ background-position: 50% -986px;
118
+ }
119
+ .arrow-type.end-size2 {
120
+ background-position: 50% -1036px;
121
+ }
122
+ .arrow-type.end-size3 {
123
+ background-position: 50% -1086px;
124
+ }
125
+ .arrow-type.end-size4 {
126
+ background-position: 50% -1136px;
127
+ }
128
+ .arrow-type.end-size5 {
129
+ background-position: 50% -1186px;
130
+ }
131
+ .arrow-type.end-size6 {
132
+ background-position: 50% -1236px;
133
+ }
134
+ .arrow-type.end-size7 {
135
+ background-position: 50% -1289px;
136
+ }
137
+ .arrow-type.end-size8 {
138
+ background-position: 50% -1339px;
139
+ }
140
+ .arrow-type.end-size9 {
141
+ background-position: 50% -1389px;
142
+ }
143
+ `;
144
+ //# sourceMappingURL=line-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-styles.js","sourceRoot":"","sources":["../../src/line-styles.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzB,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC,2CAA2C,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAC5G,MAAM,0BAA0B,GAAG,IAAI,GAAG,CAAC,4CAA4C,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE9G,SAAS,iBAAiB;IACxB,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,iCAAiC,EAAE,OAAO,yBAAyB,GAAG,CAAC,CAAA;IACvG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,kCAAkC,EAAE,OAAO,0BAA0B,GAAG,CAAC,CAAA;AAC3G,CAAC;AAED,IAAI,QAAQ,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;IACtC,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAA;AAClE,CAAC;KAAM,CAAC;IACN,iBAAiB,EAAE,CAAA;AACrB,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8H5B,CAAA","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { css } from 'lit'\n\nconst ICON_PROPERTIES_LINE_TYPE = new URL('../../icons/icon-properties-line-type.png', import.meta.url).href\nconst ICON_PROPERTIES_ARROW_TYPE = new URL('../../icons/icon-properties-arrow-type.png', import.meta.url).href\n\nfunction setIconProperties() {\n document.body.style.setProperty('--url-icon-properties-line-type', `url(${ICON_PROPERTIES_LINE_TYPE})`)\n document.body.style.setProperty('--url-icon-properties-arrow-type', `url(${ICON_PROPERTIES_ARROW_TYPE})`)\n}\n\nif (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', setIconProperties)\n} else {\n setIconProperties()\n}\n\nexport const LineStyles = css`\n .line-type {\n background: var(--url-icon-properties-line-type) 50% 0 no-repeat;\n min-height: 24px;\n padding: 3px 9px;\n }\n .line-type.solid {\n background-position: 50% 14px;\n }\n .line-type.round-dot {\n background-position: 50% -35px;\n }\n .line-type.square-dot {\n background-position: 50% -85px;\n }\n .line-type.dash {\n background-position: 50% -135px;\n }\n .line-type.dash-dot {\n background-position: 50% -185px;\n }\n .line-type.long-dash {\n background-position: 50% -235px;\n }\n .line-type.long-dash-dot {\n background-position: 50% -285px;\n }\n .line-type.long-dash-dot-dot {\n background-position: 50% -335px;\n }\n\n .arrow-type {\n background: var(--url-icon-properties-arrow-type) 50% 0 no-repeat;\n min-height: 30px;\n padding: 3px 7px;\n }\n .arrow-type.begin-none {\n background-position: 50% 16px;\n }\n .arrow-type.begin-arrow {\n background-position: 50% -39px;\n }\n .arrow-type.begin-open-arrow {\n background-position: 50% -89px;\n }\n .arrow-type.begin-sharp-arrow {\n background-position: 50% -139px;\n }\n .arrow-type.begin-diamond {\n background-position: 50% -190px;\n }\n .arrow-type.begin-oval {\n background-position: 50% -238px;\n }\n .arrow-type.begin-size1 {\n background-position: 50% -286px;\n }\n .arrow-type.begin-size2 {\n background-position: 50% -336px;\n }\n .arrow-type.begin-size3 {\n background-position: 50% -386px;\n }\n .arrow-type.begin-size4 {\n background-position: 50% -436px;\n }\n .arrow-type.begin-size5 {\n background-position: 50% -486px;\n }\n .arrow-type.begin-size6 {\n background-position: 50% -536px;\n }\n .arrow-type.begin-size7 {\n background-position: 50% -589px;\n }\n .arrow-type.begin-size8 {\n background-position: 50% -639px;\n }\n .arrow-type.begin-size9 {\n background-position: 50% -689px;\n }\n .arrow-type.end-none {\n background-position: 50% 16px;\n }\n .arrow-type.end-arrow {\n background-position: 50% -739px;\n }\n .arrow-type.end-open-arrow {\n background-position: 50% -789px;\n }\n .arrow-type.end-sharp-arrow {\n background-position: 50% -839px;\n }\n .arrow-type.end-diamond {\n background-position: 50% -890px;\n }\n .arrow-type.end-oval {\n background-position: 50% -938px;\n }\n .arrow-type.end-size1 {\n background-position: 50% -986px;\n }\n .arrow-type.end-size2 {\n background-position: 50% -1036px;\n }\n .arrow-type.end-size3 {\n background-position: 50% -1086px;\n }\n .arrow-type.end-size4 {\n background-position: 50% -1136px;\n }\n .arrow-type.end-size5 {\n background-position: 50% -1186px;\n }\n .arrow-type.end-size6 {\n background-position: 50% -1236px;\n }\n .arrow-type.end-size7 {\n background-position: 50% -1289px;\n }\n .arrow-type.end-size8 {\n background-position: 50% -1339px;\n }\n .arrow-type.end-size9 {\n background-position: 50% -1389px;\n }\n`\n"]}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @license Copyright © HatioLab Inc. All rights reserved.
3
+ */
4
+ export declare const PropertyGridStyles: import("lit").CSSResult;