@norwegian/core-components 5.12.2 → 5.13.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.
@@ -11869,6 +11869,68 @@
11869
11869
  },] }
11870
11870
  ];
11871
11871
 
11872
+ /**
11873
+ * @description
11874
+ * Norwegian Divider Component | Layout
11875
+ */
11876
+ var DividerComponent = /** @class */ (function (_super) {
11877
+ __extends(DividerComponent, _super);
11878
+ function DividerComponent() {
11879
+ return _super.call(this, 'nas-divider') || this;
11880
+ }
11881
+ DividerComponent.prototype.getModifiers = function () {
11882
+ return [
11883
+ this.exists(this.double) && 'double',
11884
+ this.exists(this.dotted) && 'dotted',
11885
+ this.exists(this.dashed) && 'dashed',
11886
+ this.exists(this.spaceLarge) && 'spaceLarge',
11887
+ this.exists(this.light) && 'light',
11888
+ this.exists(this.dark) && 'dark',
11889
+ this.exists(this.secondary) && 'secondary',
11890
+ this.exists(this.primary) && 'primary',
11891
+ ];
11892
+ };
11893
+ DividerComponent.prototype.getClasses = function (element, modifiers) {
11894
+ var classes = [
11895
+ this.getClass(element, modifiers)
11896
+ ];
11897
+ return classes;
11898
+ };
11899
+ return DividerComponent;
11900
+ }(NasComponentBase));
11901
+ DividerComponent.decorators = [
11902
+ { type: i0.Component, args: [{
11903
+ selector: 'nas-divider',
11904
+ template: "<div [nasClass]=\"getClasses('', getModifiers())\">\n <div [nasClass]=\"getClass('line')\"></div>\n <div *ngIf=\"text\" [nasClass]=\"getClass('text')\">{{text}}</div>\n <div [nasClass]=\"getClass('line')\"></div>\n</div>\n",
11905
+ styles: ["@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-30px)}}@-webkit-keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@keyframes fade-in-left{0%{opacity:0;transform:translate(-30px)}}@-webkit-keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@keyframes fade-in-right{0%{opacity:0;transform:translate(30px)}}@-webkit-keyframes fade-out{to{opacity:0}}@keyframes fade-out{to{opacity:0}}@-webkit-keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@keyframes flip-in{0%{opacity:0;transform:rotateX(-90deg)}40%{opacity:1;transform:rotateX(10deg)}}@-webkit-keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@keyframes flip-out{to{opacity:0;transform:rotateX(-90deg)}}@-webkit-keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}@keyframes pop-in-from-top{0%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-100,1,1);opacity:0}6.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-30.227,1,1)}13.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.76,1,1)}20%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,7.08,1,1)}26.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3.838,1,1)}33.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.902,1,1);opacity:1}40%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.237,1,1)}46.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.312,1,1)}53.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.141,1,1)}60%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.021,1,1)}66.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.015,1,1)}73.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.013,1,1)}80%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,.005,1,1)}86.67%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,1)}93.33%{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,-.001,1,1);-webkit-transform:translate3d(0,0,0)}}.nas-divider{display:flex;justify-content:center;align-items:center;margin-top:12px;margin-bottom:12px;height:1px}.nas-divider__line{flex:1;height:1px;background-color:#909090}.nas-divider__text{padding:12px;font-size:16px;line-height:26px}.nas-divider--double .nas-divider__line{flex:1;height:2px;background-color:#c3c3c3}.nas-divider--dotted .nas-divider__line{flex:1;height:1px;background-color:transparent;border-bottom:1px dotted #c3c3c3}.nas-divider--dashed .nas-divider__line{flex:1;height:1px;background-color:transparent;border-bottom:1px dashed #c3c3c3}.nas-divider--spacelarge{margin-top:36px;margin-bottom:36px}.nas-divider--light{background-color:#c3c3c3}.nas-divider--light .nas-divider__line{background-color:#c3c3c3}.nas-divider--dark{background-color:#626363}.nas-divider--dark .nas-divider__line{background-color:#626363}.nas-divider--secondary{background-color:#003251}.nas-divider--secondary .nas-divider__line{background-color:#003251}.nas-divider--primary{background-color:#d81939}.nas-divider--primary .nas-divider__line{background-color:#d81939}\n"]
11906
+ },] }
11907
+ ];
11908
+ DividerComponent.ctorParameters = function () { return []; };
11909
+ DividerComponent.propDecorators = {
11910
+ text: [{ type: i0.Input }],
11911
+ double: [{ type: i0.Input }],
11912
+ dotted: [{ type: i0.Input }],
11913
+ dashed: [{ type: i0.Input }],
11914
+ spaceLarge: [{ type: i0.Input }],
11915
+ light: [{ type: i0.Input }],
11916
+ dark: [{ type: i0.Input }],
11917
+ secondary: [{ type: i0.Input }],
11918
+ primary: [{ type: i0.Input }]
11919
+ };
11920
+
11921
+ var DividerModule = /** @class */ (function () {
11922
+ function DividerModule() {
11923
+ }
11924
+ return DividerModule;
11925
+ }());
11926
+ DividerModule.decorators = [
11927
+ { type: i0.NgModule, args: [{
11928
+ declarations: [DividerComponent],
11929
+ imports: [i1.CommonModule, NasClassModule, router.RouterModule],
11930
+ exports: [DividerComponent],
11931
+ },] }
11932
+ ];
11933
+
11872
11934
  var GetPositionService = /** @class */ (function () {
11873
11935
  function GetPositionService() {
11874
11936
  }
@@ -11930,6 +11992,8 @@
11930
11992
  exports.DatepickerComponent = DatepickerComponent;
11931
11993
  exports.DatepickerModule = DatepickerModule;
11932
11994
  exports.DeviceHelper = DeviceHelper;
11995
+ exports.DividerComponent = DividerComponent;
11996
+ exports.DividerModule = DividerModule;
11933
11997
  exports.DropdownComponent = DropdownComponent;
11934
11998
  exports.DropdownModule = DropdownModule;
11935
11999
  exports.FilterComponent = FilterComponent;