@freightos/freightwind 2.1.0 → 2.1.2
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/cjs/lib/index.js +10 -0
- package/dist/esm/lib/index.js +3 -0
- package/dist/types/lib/index.d.ts +4 -0
- package/package.json +1 -1
- package/tokens.css +10 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.renderInputIcon = exports.iconMap = exports.useStableId = exports.cn = void 0;
|
|
4
|
+
var utils_1 = require("./utils");
|
|
5
|
+
Object.defineProperty(exports, "cn", { enumerable: true, get: function () { return utils_1.cn; } });
|
|
6
|
+
var use_stable_id_1 = require("./use-stable-id");
|
|
7
|
+
Object.defineProperty(exports, "useStableId", { enumerable: true, get: function () { return use_stable_id_1.useStableId; } });
|
|
8
|
+
var icon_utils_1 = require("./icon-utils");
|
|
9
|
+
Object.defineProperty(exports, "iconMap", { enumerable: true, get: function () { return icon_utils_1.iconMap; } });
|
|
10
|
+
Object.defineProperty(exports, "renderInputIcon", { enumerable: true, get: function () { return icon_utils_1.renderInputIcon; } });
|
package/package.json
CHANGED
package/tokens.css
CHANGED
|
@@ -407,3 +407,13 @@
|
|
|
407
407
|
-webkit-font-smoothing: antialiased;
|
|
408
408
|
-moz-osx-font-smoothing: grayscale;
|
|
409
409
|
}
|
|
410
|
+
|
|
411
|
+
/* Focus ring utilities used by FreightWind form components.
|
|
412
|
+
2px outer glow in FDS primary blue for focus; red for invalid state. */
|
|
413
|
+
@utility ring-fds-focus {
|
|
414
|
+
box-shadow: 0 0 0 2px var(--fds-color-primary-blue-20);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
@utility ring-fds-focus-error {
|
|
418
|
+
box-shadow: 0 0 0 2px var(--fds-color-semantic-red-20);
|
|
419
|
+
}
|