@webstudio-is/css-data 0.62.0 → 0.64.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.
- package/lib/cjs/html.js +17 -0
- package/lib/html.js +17 -0
- package/lib/types/src/html.d.ts +1 -0
- package/package.json +1 -1
- package/src/html.ts +17 -0
package/lib/cjs/html.js
CHANGED
|
@@ -18,6 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var html_exports = {};
|
|
20
20
|
__export(html_exports, {
|
|
21
|
+
a: () => a,
|
|
21
22
|
address: () => address,
|
|
22
23
|
article: () => article,
|
|
23
24
|
aside: () => article,
|
|
@@ -428,6 +429,22 @@ const sup = [
|
|
|
428
429
|
value: { type: "keyword", value: "smaller" }
|
|
429
430
|
}
|
|
430
431
|
];
|
|
432
|
+
const a = [
|
|
433
|
+
{
|
|
434
|
+
property: "textDecorationLine",
|
|
435
|
+
value: { type: "keyword", value: "underline" }
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
property: "cursor",
|
|
439
|
+
value: { type: "keyword", value: "pointer" }
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
property: "color",
|
|
443
|
+
value: { type: "rgb", r: 0, g: 0, b: 238, alpha: 1 }
|
|
444
|
+
}
|
|
445
|
+
// active and visited states are not defined as usually overriden with stateless color
|
|
446
|
+
// and modeling var-like defaults is too complex
|
|
447
|
+
];
|
|
431
448
|
const ul = [
|
|
432
449
|
displayBlock,
|
|
433
450
|
{
|
package/lib/html.js
CHANGED
|
@@ -346,6 +346,22 @@ const sup = [
|
|
|
346
346
|
value: { type: "keyword", value: "smaller" }
|
|
347
347
|
}
|
|
348
348
|
];
|
|
349
|
+
const a = [
|
|
350
|
+
{
|
|
351
|
+
property: "textDecorationLine",
|
|
352
|
+
value: { type: "keyword", value: "underline" }
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
property: "cursor",
|
|
356
|
+
value: { type: "keyword", value: "pointer" }
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
property: "color",
|
|
360
|
+
value: { type: "rgb", r: 0, g: 0, b: 238, alpha: 1 }
|
|
361
|
+
}
|
|
362
|
+
// active and visited states are not defined as usually overriden with stateless color
|
|
363
|
+
// and modeling var-like defaults is too complex
|
|
364
|
+
];
|
|
349
365
|
const ul = [
|
|
350
366
|
displayBlock,
|
|
351
367
|
{
|
|
@@ -438,6 +454,7 @@ const hr = [
|
|
|
438
454
|
displayBlock
|
|
439
455
|
];
|
|
440
456
|
export {
|
|
457
|
+
a,
|
|
441
458
|
address,
|
|
442
459
|
article,
|
|
443
460
|
article as aside,
|
package/lib/types/src/html.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare const s: Styles;
|
|
|
47
47
|
export { s as del };
|
|
48
48
|
export declare const sub: Styles;
|
|
49
49
|
export declare const sup: Styles;
|
|
50
|
+
export declare const a: Styles;
|
|
50
51
|
export declare const ul: Styles;
|
|
51
52
|
export declare const ol: Styles;
|
|
52
53
|
export declare const li: Styles;
|
package/package.json
CHANGED
package/src/html.ts
CHANGED
|
@@ -438,6 +438,23 @@ export const sup: Styles = [
|
|
|
438
438
|
},
|
|
439
439
|
];
|
|
440
440
|
|
|
441
|
+
export const a: Styles = [
|
|
442
|
+
{
|
|
443
|
+
property: "textDecorationLine",
|
|
444
|
+
value: { type: "keyword", value: "underline" },
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
property: "cursor",
|
|
448
|
+
value: { type: "keyword", value: "pointer" },
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
property: "color",
|
|
452
|
+
value: { type: "rgb", r: 0, g: 0, b: 238, alpha: 1 },
|
|
453
|
+
},
|
|
454
|
+
// active and visited states are not defined as usually overriden with stateless color
|
|
455
|
+
// and modeling var-like defaults is too complex
|
|
456
|
+
];
|
|
457
|
+
|
|
441
458
|
/* lists */
|
|
442
459
|
|
|
443
460
|
// nested lists have no top/bottom margins
|