@ruc-lib/knob 3.1.0 → 3.2.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/README.md CHANGED
@@ -25,31 +25,35 @@ Please ensure you install the correct version of `@ruc-lib/knob` based on your A
25
25
 
26
26
  | Angular Version | Compatible `@ruc-lib/knob` Version |
27
27
  |--------------------|------------------------------------------------------|
28
- | 15.x.x | `npm install @ruc-lib/knob@^3.0.0` |
29
- | 16.x.x | `npm install @ruc-lib/knob@^3.0.0` |
28
+ | 15.x.x | `npm install @ruc-lib/knob@^3.2.0` |
29
+ | 16.x.x | `npm install @ruc-lib/knob@^3.2.0` |
30
30
 
31
31
 
32
32
  ## Usage
33
- ### 1. Import the Component
34
- In your Angular component file (e.g., `app.component.ts`), import the `RuclibKnobComponent`:
35
-
36
- ```typescript
37
- import { Component } from '@angular/core';
38
-
39
- // For Complete Library
40
- import { RuclibKnobComponent } from '@uxpractice/ruc-lib/knob';
41
-
42
- // For Individual Package
43
- import { RuclibKnobComponent } from '@ruc-lib/knob';
44
-
45
- @Component({
46
- selector: 'app-root',
47
- imports: [RuclibKnobComponent],
48
- templateUrl: './app.component.html',
49
- })
50
- export class AppComponent {
51
- // Component code here
52
- }
33
+ ### 1. Import the Module
34
+ In your Angular module file (e.g., `app.module.ts`), import the `RuclibKnobModule`:
35
+
36
+ ```typescript
37
+ // For Complete Library
38
+ import { RuclibKnobModule } from '@uxpractice/ruc-lib/knob';
39
+
40
+ // For Individual Package
41
+ import { RuclibKnobModule } from '@ruc-lib/knob';
42
+
43
+ import { AppComponent } from './app.component';
44
+ import { NgModule } from '@angular/core';
45
+ import { BrowserModule } from '@angular/platform-browser';
46
+
47
+ @NgModule({
48
+ declarations: [AppComponent],
49
+ imports: [
50
+ BrowserModule,
51
+ RuclibKnobModule
52
+ ],
53
+ providers: [],
54
+ bootstrap: [AppComponent]
55
+ })
56
+ export class AppModule {}
53
57
  ```
54
58
 
55
59
  ### 2. Use the Component
@@ -0,0 +1,4 @@
1
+ export * from './lib/ruclib-knob.module';
2
+ export * from './lib/ruclib-knob/ruclib-knob.component';
3
+ export * from './models/knob.interface';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHlDQUF5QyxDQUFDO0FBQ3hELGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9ydWNsaWIta25vYi5tb2R1bGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9ydWNsaWIta25vYi9ydWNsaWIta25vYi5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL21vZGVscy9rbm9iLmludGVyZmFjZSc7XHJcbiJdfQ==