flinker-dom 1.1.16 → 1.1.17

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
@@ -141,11 +141,13 @@ const RuleBuilder = () => {
141
141
  setValue('-webkit-user-select', value ? 'text' : 'none', false);
142
142
  };
143
143
  operator.target = (value) => { setValue('target', value); };
144
+ operator.bg = (value) => { setValue('background', value); };
144
145
  operator.bgImage = (value) => { setValue('background-image', value); };
145
146
  operator.bgImageSrc = (value) => { setValue('background-image', 'url(' + value + ')'); };
146
147
  operator.bgImageRepeat = (value) => { setValue('background-repeat', value); };
147
148
  operator.bgImageSize = (value) => { setValue('background-size', value); };
148
149
  operator.bgImageAttachment = (value) => { setValue('background-attachment', value); };
150
+ operator.maskImage = (value) => { setValue('mask-image', value); };
149
151
  operator.animate = (value) => { setValue('transition', value); };
150
152
  operator.animateAll = (value) => { setValue('transition', 'all ' + value); };
151
153
  operator.pseudo = (values) => {
@@ -1,7 +1,8 @@
1
1
  const abbreviations = {
2
2
  'align-items': 'A',
3
3
  'backdrop-filter': 'BF',
4
- 'background-color': 'BG',
4
+ 'background': 'BG',
5
+ 'background-color': 'BGC',
5
6
  'background-image': 'BI',
6
7
  'background-attachment': 'BIA',
7
8
  'background-repeat': 'BIR',
@@ -39,6 +40,7 @@ const abbreviations = {
39
40
  'margin-right': 'MR',
40
41
  'margin-top': 'MT',
41
42
  'margin-bottom': 'MB',
43
+ 'mask-image': 'MI',
42
44
  'max-height': 'MAH',
43
45
  'max-width': 'MAW',
44
46
  'min-height': 'MIH',
@@ -9,6 +9,7 @@ export interface UIComponentProps {
9
9
  alignItems?: 'normal' | 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'baseline' | 'inherit';
10
10
  animate?: string;
11
11
  animateAll?: string;
12
+ bg?: string;
12
13
  bgColor?: string;
13
14
  bgImageAttachment?: 'scroll' | 'fixed' | 'unset' | 'inherit';
14
15
  bgImageRepeat?: 'no-repeat' | 'repeat' | 'repeat-x' | 'repeat-y' | 'unset' | 'space' | 'inherit';
@@ -58,6 +59,7 @@ export interface UIComponentProps {
58
59
  marginRight?: string;
59
60
  marginTop?: string;
60
61
  marginVertical?: string;
62
+ maskImage?: string;
61
63
  mouseEnabled?: boolean;
62
64
  minHeight?: string;
63
65
  minWidth?: string;
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.16",
4
+ "version": "1.1.17",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/Dittner/FlinkerDOM.git"