flinker-dom 1.1.10 → 1.1.11

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/dist/esm/core.js CHANGED
@@ -115,6 +115,7 @@ const RuleBuilder = () => {
115
115
  operator.borderRight = (value) => { setValue('border-right', Array.isArray(value) ? value.join(' ') : value); };
116
116
  operator.borderTop = (value) => { setValue('border-top', Array.isArray(value) ? value.join(' ') : value); };
117
117
  operator.borderBottom = (value) => { setValue('border-bottom', Array.isArray(value) ? value.join(' ') : value); };
118
+ operator.content = (value) => { setValue('content', value); };
118
119
  operator.cornerRadius = (value) => { setValue('border-radius', value); };
119
120
  operator.opacity = (value) => { setValue('opacity', value); };
120
121
  operator.shadow = (value) => { setValue('box-shadow', value); };
@@ -17,6 +17,7 @@ const abbreviations = {
17
17
  'box-shadow': 'BS',
18
18
  'caret-color': 'CC',
19
19
  'color': 'C',
20
+ 'content': 'CO',
20
21
  'cursor': 'CU',
21
22
  'display': 'D',
22
23
  'flex-direction': 'F',
@@ -28,6 +28,7 @@ export interface UIComponentProps {
28
28
  children?: any;
29
29
  className?: string;
30
30
  cornerRadius?: string;
31
+ content?: string;
31
32
  cursor?: 'auto' | 'pointer' | 'wait' | 'crosshair' | 'not-allowed' | 'zoom-in' | 'grab' | 'inherit';
32
33
  disableHorizontalScroll?: boolean;
33
34
  disableScroll?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flinker-dom",
3
3
  "description": "Free TypeScript library for writing frontend apps",
4
- "version": "1.1.10",
4
+ "version": "1.1.11",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/Dittner/FlinkerDOM.git"